Fix mcdonalds cog

This commit is contained in:
Nexus 2023-12-05 12:10:47 +00:00
parent 13f8612479
commit 3ecfbfaacc
Signed by: nex
GPG key ID: 0FA334385D0B689F

View file

@ -36,7 +36,6 @@ class McDonaldsCog(commands.Cog):
self.cooldown[message.author] = message.created_at.timestamp()
@commands.user_command(name="Commercial Break")
@commands.cooldown(1, 30, commands.BucketType.user)
async def commercial_break(self, ctx: discord.ApplicationContext, member: discord.Member):
await ctx.defer(ephemeral=True)
if member in self.targets: