Commit 6e74c1bb authored by codey's avatar codey
Browse files

cleanup (moved misc_utils to utils), changed sing footer.

parent 4f3c82f9
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -6,11 +6,11 @@ import random
from typing import Optional
import logging
import discord
from cogs.misc_util import Util
import aiosqlite as sqlite3
from sh import cowsay as cow_say, fortune
from discord.ext import bridge, commands
from disc_havoc import Havoc
from util.misc_util import Util
from constructors import MiscException

"""
+2 −2
Original line number Diff line number Diff line
@@ -98,7 +98,7 @@ class Sing(commands.Cog):
                for section in search_result_wrapped:
                    c+=1
                    if c == len(search_result_wrapped):
                        footer = f"Found on: {search_result_src}"
                        footer = f"`Found on: {search_result_src}`"
                    # if ctx.guild.id == 1145182936002482196:
                    #     section = section.upper()
                    section = regex.sub(r'\p{Vert_Space}', ' / ', section.strip())
@@ -173,7 +173,7 @@ class Sing(commands.Cog):
                for section in search_result_wrapped:
                    c+=1
                    if c == len(search_result_wrapped):
                        footer = f"Found on: {search_result_src}"
                        footer = f"`Found on: {search_result_src}`"
                    # if ctx.guild.id == 1145182936002482196:
                    #     section = section.upper()
                    section = regex.sub(r'\p{Vert_Space}', ' / ', section.strip())
+0 −0

File moved.