From eeb2689bae88226d85045cfa00ec37686a856f04 Mon Sep 17 00:00:00 2001 From: Ave Ozkal Date: Sun, 22 Dec 2019 01:20:21 +0300 Subject: [PATCH] Impose rate limits on .cox Currently 1 per 3 hours: https://discordapp.com/channels/269333940928512010/286612533757083648/658069981698981899 --- cogs/imagemanip.py | 1 + 1 file changed, 1 insertion(+) diff --git a/cogs/imagemanip.py b/cogs/imagemanip.py index abf4412..e9db782 100644 --- a/cogs/imagemanip.py +++ b/cogs/imagemanip.py @@ -14,6 +14,7 @@ class ImageManip(Cog): def __init__(self, bot): self.bot = bot + @commands.cooldown(1, 60 * 60 * 3, type=commands.BucketType.user) @commands.check(check_if_staff_or_ot) @commands.command(hidden=True) async def cox(self, ctx, *, headline: str):