diff options
author | 2021-05-05 11:28:01 -0400 | |
---|---|---|
committer | 2021-05-05 11:28:01 -0400 | |
commit | ccb7cd7bc4ab43e4d777093a14c921a64c884f6e (patch) | |
tree | b04ba7977b35377039a1288f6ddcab50501c9f4c | |
parent | Merge pull request #717 from ToxicKidz/pr-template-spelling-fix (diff) |
chore: 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. |