aboutsummaryrefslogtreecommitdiffstats
path: root/bot/exts/evergreen/catify.py
diff options
context:
space:
mode:
Diffstat (limited to 'bot/exts/evergreen/catify.py')
-rw-r--r--bot/exts/evergreen/catify.py10
1 files changed, 4 insertions, 6 deletions
diff --git a/bot/exts/evergreen/catify.py b/bot/exts/evergreen/catify.py
index a175602f..32dfae09 100644
--- a/bot/exts/evergreen/catify.py
+++ b/bot/exts/evergreen/catify.py
@@ -5,6 +5,7 @@ from typing import Optional
from discord import AllowedMentions, Embed, Forbidden
from discord.ext import commands
+from bot.bot import Bot
from bot.constants import Cats, Colours, NEGATIVE_REPLIES
from bot.utils import helpers
@@ -12,10 +13,7 @@ from bot.utils import helpers
class Catify(commands.Cog):
"""Cog for the catify command."""
- def __init__(self, bot: commands.Bot):
- self.bot = bot
-
- @commands.command(aliases=["ᓚᘏᗢify", "ᓚᘏᗢ"])
+ @commands.command(aliases=("ᓚᘏᗢify", "ᓚᘏᗢ"))
@commands.cooldown(1, 5, commands.BucketType.user)
async def catify(self, ctx: commands.Context, *, text: Optional[str]) -> None:
"""
@@ -83,6 +81,6 @@ class Catify(commands.Cog):
)
-def setup(bot: commands.Bot) -> None:
+def setup(bot: Bot) -> None:
"""Loads the catify cog."""
- bot.add_cog(Catify(bot))
+ bot.add_cog(Catify())