mirror of
https://github.com/Cog-Creators/Red-DiscordBot.git
synced 2025-11-06 11:18:54 -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
|
return
|
||||||
|
|
||||||
try:
|
try:
|
||||||
await self.bot.http.ban(user_id, server.id)
|
await self.bot.http.ban(user_id, server.id, 0)
|
||||||
except discord.NotFound:
|
except discord.NotFound:
|
||||||
await self.bot.say("User not found. Have you provided the "
|
await self.bot.say("User not found. Have you provided the "
|
||||||
"correct user ID?")
|
"correct user ID?")
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user