From 502c5cec07de0040aab9fba6886f03897e539622 Mon Sep 17 00:00:00 2001 From: Alan Beatty Date: Sat, 13 Nov 2021 14:43:30 -0600 Subject: [PATCH] Add an audit log reason to massban --- src/NadekoBot/Modules/Administration/UserPunishCommands.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/NadekoBot/Modules/Administration/UserPunishCommands.cs b/src/NadekoBot/Modules/Administration/UserPunishCommands.cs index fa3041788..89f473659 100644 --- a/src/NadekoBot/Modules/Administration/UserPunishCommands.cs +++ b/src/NadekoBot/Modules/Administration/UserPunishCommands.cs @@ -829,7 +829,7 @@ namespace NadekoBot.Modules.Administration { try { - await ctx.Guild.AddBanAsync(toBan.Id, 7); + await ctx.Guild.AddBanAsync(toBan.Id, 7, $"{ctx.User} | Massban"); } catch (Exception ex) {