From cad2834106bb313c530edca5980e1c4e204b73d2 Mon Sep 17 00:00:00 2001 From: Master Kwoth Date: Tue, 16 May 2017 22:03:09 +0200 Subject: [PATCH] softban punishment now correctly prunes messages from the last 7 days --- .../Modules/Administration/Commands/UserPunishCommands.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/NadekoBot/Modules/Administration/Commands/UserPunishCommands.cs b/src/NadekoBot/Modules/Administration/Commands/UserPunishCommands.cs index ad28d5ae..f0189683 100644 --- a/src/NadekoBot/Modules/Administration/Commands/UserPunishCommands.cs +++ b/src/NadekoBot/Modules/Administration/Commands/UserPunishCommands.cs @@ -73,7 +73,7 @@ namespace NadekoBot.Modules.Administration await guild.AddBanAsync(user).ConfigureAwait(false); break; case PunishmentAction.Softban: - await guild.AddBanAsync(user).ConfigureAwait(false); + await guild.AddBanAsync(user, 7).ConfigureAwait(false); try { await guild.RemoveBanAsync(user).ConfigureAwait(false);