mirror of
https://github.com/Cog-Creators/Red-DiscordBot.git
synced 2025-11-06 03:08:55 -05:00
[Mod] No wipe of messages on [p]hackban
This commit is contained in:
parent
f1fcdf80da
commit
9f290dbdc7
@ -407,7 +407,7 @@ class Mod:
|
||||
return
|
||||
|
||||
try:
|
||||
await self.bot.http.ban(user_id, server.id)
|
||||
await self.bot.http.ban(user_id, server.id, 0)
|
||||
except discord.NotFound:
|
||||
await self.bot.say("User not found. Have you provided the "
|
||||
"correct user ID?")
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user