Impose rate limits on .cox
Currently 1 per 3 hours: https://discordapp.com/channels/269333940928512010/286612533757083648/658069981698981899
This commit is contained in:
parent
b6f6b98480
commit
eeb2689bae
1 changed files with 1 additions and 0 deletions
|
@ -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):
|
||||||
|
|
Loading…
Reference in a new issue