-
Notifications
You must be signed in to change notification settings - Fork 117
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Change phishing links spam punihsment to kick instead of ban
- Loading branch information
1 parent
71c08ba
commit 4b17c05
Showing
1 changed file
with
2 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -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: | ||
|