mirror of
https://github.com/nexy7574/LCC-bot.git
synced 2024-09-19 18:16:34 +01:00
Fix mcdonalds cog
This commit is contained in:
parent
13f8612479
commit
3ecfbfaacc
1 changed files with 0 additions and 1 deletions
|
@ -36,7 +36,6 @@ class McDonaldsCog(commands.Cog):
|
||||||
self.cooldown[message.author] = message.created_at.timestamp()
|
self.cooldown[message.author] = message.created_at.timestamp()
|
||||||
|
|
||||||
@commands.user_command(name="Commercial Break")
|
@commands.user_command(name="Commercial Break")
|
||||||
@commands.cooldown(1, 30, commands.BucketType.user)
|
|
||||||
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)
|
||||||
if member in self.targets:
|
if member in self.targets:
|
||||||
|
|
Loading…
Reference in a new issue