mirror of
https://github.com/brandons209/Red-bot-Cogs.git
synced 2024-06-02 18:45:17 +12:00
add 7 minute cooldown
This commit is contained in:
parent
c6ca687c08
commit
f74fc9aa5b
|
@ -38,6 +38,7 @@ class Confession(BaseCog):
|
||||||
await ctx.send("The room has been unset.")
|
await ctx.send("The room has been unset.")
|
||||||
|
|
||||||
@commands.command()
|
@commands.command()
|
||||||
|
@commands.cooldown(rate=1, per=420, type=commands.BucketType.user)
|
||||||
async def confess(self, ctx, *, confession: str):
|
async def confess(self, ctx, *, confession: str):
|
||||||
"""Confess your dirty sins
|
"""Confess your dirty sins
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue