aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGravatar ToxicKidz <[email protected]>2021-05-05 17:21:33 -0400
committerGravatar GitHub <[email protected]>2021-05-05 17:21:33 -0400
commitd964a0382d2c8781b0e94eaea796276919be455c (patch)
tree3aadd23e5118a96dedd58f62ac19708132441d3c
parentchore: Use the name AvatarModify instead of PfpModify (diff)
parentMerge pull request #720 from ToxicKidz/catify-cooldown (diff)
Merge branch 'main' into feat/mosaic-command
-rw-r--r--.github/pull_request_template.md2
-rw-r--r--bot/exts/evergreen/catify.py1
2 files changed, 2 insertions, 1 deletions
diff --git a/.github/pull_request_template.md b/.github/pull_request_template.md
index fade00e1..ba418166 100644
--- a/.github/pull_request_template.md
+++ b/.github/pull_request_template.md
@@ -15,6 +15,6 @@ Issues can be skipped with explicit core dev approval, but you have to link the
<!-- Replace [ ] with [x] to mark items as done. -->
- [ ] Join the [**Python Discord Community**](https://discord.gg/python)?
-- [ ] Read all the comments in this tempelate?
+- [ ] Read all the comments in this template?
- [ ] Ensure there is an issue open, or link relevant discord discussions?
- [ ] Read the [contributing guidelines](https://pythondiscord.com/pages/contributing/contributing-guidelines/)?
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.