diff options
author | 2021-05-05 18:55:53 +0300 | |
---|---|---|
committer | 2021-05-05 18:55:53 +0300 | |
commit | 05ba3de5c99b30a8eba393da1460fae255373457 (patch) | |
tree | b04ba7977b35377039a1288f6ddcab50501c9f4c | |
parent | Merge pull request #717 from ToxicKidz/pr-template-spelling-fix (diff) | |
parent | chore: 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.py | 1 |
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. |