mirror of
https://github.com/Ryujinx/ryuko-ng.git
synced 2025-01-03 19:05:31 +00:00
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
|
@ -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):
|
||||
|
|
Loading…
Reference in a new issue