Skip to content

Commit

Permalink
Change phishing links spam punihsment to kick instead of ban
Browse files Browse the repository at this point in the history
  • Loading branch information
FrozenChen committed Mar 20, 2024
1 parent 71c08ba commit 4b17c05
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions cogs/events.py
Original file line number Diff line number Diff line change
Expand Up @@ -245,8 +245,8 @@ async def scan_message(self, message: discord.Message, is_edit=False):
msg = ("You have been banned from Nintendo Homebrew for linking scamming sites in multiple channels. "
"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'wb:{message.author.id}')
await message.author.ban(reason="Linking scamming links in multiple channels.", delete_message_days=0)
self.bot.actions.append(f'wk:{message.author.id}')
await message.author.kick(reason="Linking scamming links in multiple channels.", delete_message_days=0)
try:
await message.delete()
except discord.errors.NotFound:
Expand Down

0 comments on commit 4b17c05

Please sign in to comment.