mirror of
https://github.com/nexy7574/LCC-bot.git
synced 2024-09-19 18:16:34 +01:00
re-add cooldown to commercial_break command
This commit is contained in:
parent
aacff7403f
commit
677b60c4d1
1 changed files with 1 additions and 0 deletions
|
@ -137,6 +137,7 @@ class McDonaldsCog(commands.Cog):
|
||||||
)
|
)
|
||||||
|
|
||||||
@commands.user_command(name="Commercial Break")
|
@commands.user_command(name="Commercial Break")
|
||||||
|
@commands.cooldown(2, 60, commands.BucketType.member)
|
||||||
async def commercial_break(self, ctx: discord.ApplicationContext, member: discord.Member):
|
async def commercial_break(self, ctx: discord.ApplicationContext, member: discord.Member):
|
||||||
await ctx.defer(ephemeral=True)
|
await ctx.defer(ephemeral=True)
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue