forked from nh-server/Kurisu
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
6e30f6b
commit 035909c
Showing
1 changed file
with
1 addition
and
1 deletion.
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 |
---|---|---|
|
@@ -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: | ||
|