Skip to content

Commit

Permalink
Fix leftover key argument
Browse files Browse the repository at this point in the history
  • Loading branch information
FrozenChen committed Mar 24, 2024
1 parent 6e30f6b commit 035909c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cogs/events.py
Original file line number Diff line number Diff line change
Expand Up @@ -246,7 +246,7 @@ async def scan_message(self, message: discord.Message, is_edit=False):
"If you think this is a mistake contact ❅FrozenFire❆#0700 on discord or send a email to [email protected]")
await send_dm_message(message.author, msg)
self.bot.actions.append(f'wk:{message.author.id}')
await message.author.kick(reason="Linking scamming links in multiple channels.", delete_message_days=0)
await message.author.kick(reason="Linking scamming links in multiple channels.")
try:
await message.delete()
except discord.errors.NotFound:
Expand Down

0 comments on commit 035909c

Please sign in to comment.