aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xcogs/admin.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/cogs/admin.py b/cogs/admin.py
index 415d25f..19438b4 100755
--- a/cogs/admin.py
+++ b/cogs/admin.py
@@ -160,7 +160,7 @@ class Admin(commands.Cog):
async def ban(self, ctx, members: commands.Greedy[discord.Member]=False,
mute_minutes: int = 0,
*, reason: str = "absolutely no reason"):
- """Mass mute members with an optional mute_minutes parameter to time it"""
+ """Mass ban members with an optional mute_minutes parameter to time it"""
if not members:
await ctx.send("You need to name someone to ban")
@@ -172,7 +172,7 @@ class Admin(commands.Cog):
embed = discord.Embed(title = "You can't ban me, I'm an almighty bot")
await ctx.send(embed = embed)
continue
- await ctx.guild.ban(member, reason=reason)
+ await ctx.guild.ban(member, reason=reason, delete_message_days=0)
await ctx.send("{0.mention} has been banned by {1.mention} for *{2}*".format(member, ctx.author, reason))
if mute_minutes > 0:
d11da95d273fbd8ecf368cf0b93a3875&follow=1'>Foot use tmux by defaultLuca Matei Pintilie1-1/+1 2022-11-08Neovim omnisharp plugin and tmux color fix on foot and inputrc emacsLuca Matei Pintilie5-7/+13 2022-10-25Update neovim, inputrc and bootstrap.shLuca Matei Pintilie4-9/+18 Update neovim to use vscode-langservers-extracted Make bootstrap.sh a bit more POSIX compliant 2022-10-24Remove weather from tmux configLuca Matei Pintilie1-1/+1