aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGravatar Hassan Abouelela <[email protected]>2021-05-05 18:55:53 +0300
committerGravatar GitHub <[email protected]>2021-05-05 18:55:53 +0300
commit05ba3de5c99b30a8eba393da1460fae255373457 (patch)
treeb04ba7977b35377039a1288f6ddcab50501c9f4c
parentMerge pull request #717 from ToxicKidz/pr-template-spelling-fix (diff)
parentchore: Add a 5 second cooldown per user to .catify (diff)
Merge pull request #720 from ToxicKidz/catify-cooldown
Add a 5 second cooldown per user to .catify
-rw-r--r--bot/exts/evergreen/catify.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/bot/exts/evergreen/catify.py b/bot/exts/evergreen/catify.py
index d8a7442d..a175602f 100644
--- a/bot/exts/evergreen/catify.py
+++ b/bot/exts/evergreen/catify.py
@@ -16,6 +16,7 @@ class Catify(commands.Cog):
self.bot = bot
@commands.command(aliases=["ᓚᘏᗢify", "ᓚᘏᗢ"])
+ @commands.cooldown(1, 5, commands.BucketType.user)
async def catify(self, ctx: commands.Context, *, text: Optional[str]) -> None:
"""
Convert the provided text into a cat themed sentence by interspercing cats throughout text.