softban punishment now correctly prunes messages from the last 7 days
This commit is contained in:
parent
7ac94e907f
commit
cad2834106
@ -73,7 +73,7 @@ namespace NadekoBot.Modules.Administration
|
|||||||
await guild.AddBanAsync(user).ConfigureAwait(false);
|
await guild.AddBanAsync(user).ConfigureAwait(false);
|
||||||
break;
|
break;
|
||||||
case PunishmentAction.Softban:
|
case PunishmentAction.Softban:
|
||||||
await guild.AddBanAsync(user).ConfigureAwait(false);
|
await guild.AddBanAsync(user, 7).ConfigureAwait(false);
|
||||||
try
|
try
|
||||||
{
|
{
|
||||||
await guild.RemoveBanAsync(user).ConfigureAwait(false);
|
await guild.RemoveBanAsync(user).ConfigureAwait(false);
|
||||||
|
Loading…
Reference in New Issue
Block a user