Impose rate limits on .cox

Currently 1 per 3 hours: https://discordapp.com/channels/269333940928512010/286612533757083648/658069981698981899
This commit is contained in:
Ave Ozkal 2019-12-22 01:20:21 +03:00
parent b6f6b98480
commit eeb2689bae
No known key found for this signature in database
GPG key ID: 398DD7BD03276F6D

View file

@ -14,6 +14,7 @@ class ImageManip(Cog):
def __init__(self, bot): def __init__(self, bot):
self.bot = bot self.bot = bot
@commands.cooldown(1, 60 * 60 * 3, type=commands.BucketType.user)
@commands.check(check_if_staff_or_ot) @commands.check(check_if_staff_or_ot)
@commands.command(hidden=True) @commands.command(hidden=True)
async def cox(self, ctx, *, headline: str): async def cox(self, ctx, *, headline: str):