diff options
| author | 2021-04-20 12:22:41 -0400 | |
|---|---|---|
| committer | 2021-04-20 12:22:41 -0400 | |
| commit | 97048ce3634875e875f4a66e786b49d39bfdb17f (patch) | |
| tree | 7a58f477517b0b83862b0b3f8ae0513867e4902b /bot/exts/pride/drag_queen_name.py | |
| parent | Clean Up the Halloween Season (diff) | |
Clean Up Christmas Season
Diffstat (limited to 'bot/exts/pride/drag_queen_name.py')
| -rw-r--r-- | bot/exts/pride/drag_queen_name.py | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/bot/exts/pride/drag_queen_name.py b/bot/exts/pride/drag_queen_name.py index fca9750f..32ead1bc 100644 --- a/bot/exts/pride/drag_queen_name.py +++ b/bot/exts/pride/drag_queen_name.py @@ -5,14 +5,15 @@ from pathlib import Path from discord.ext import commands +from bot.bot import Bot + log = logging.getLogger(__name__) class DragNames(commands.Cog): """Gives a random drag queen name!""" - def __init__(self, bot: commands.Bot): - self.bot = bot + def __init__(self): self.names = self.load_names() @staticmethod @@ -27,6 +28,6 @@ class DragNames(commands.Cog): await ctx.send(random.choice(self.names)) -def setup(bot: commands.Bot) -> None: - """Cog loader for drag queen name generator.""" +def setup(bot: Bot) -> None: + """Load the Drag Queen Cog.""" bot.add_cog(DragNames(bot)) |