punishments and v+t info is info now, not warning
This commit is contained in:
parent
4a3d66e712
commit
22f7443f0b
@ -183,7 +183,7 @@ namespace NadekoBot.Modules.Administration
|
||||
|
||||
private static async Task PunishUsers(PunishmentAction action, ProtectionType pt, params IGuildUser[] gus)
|
||||
{
|
||||
_log.Warn($"[{pt}] - Punishing [{gus.Length}] users with [{action}] in {gus[0].Guild.Name} guild");
|
||||
_log.Info($"[{pt}] - Punishing [{gus.Length}] users with [{action}] in {gus[0].Guild.Name} guild");
|
||||
foreach (var gu in gus)
|
||||
{
|
||||
switch (action)
|
||||
|
@ -93,7 +93,7 @@ namespace NadekoBot.Modules.Administration
|
||||
if (beforeRole != null)
|
||||
try
|
||||
{
|
||||
_log.Warn("Removing role " + beforeRoleName + " from user " + user.Username);
|
||||
_log.Info("Removing role " + beforeRoleName + " from user " + user.Username);
|
||||
await user.RemoveRolesAsync(beforeRole).ConfigureAwait(false);
|
||||
await Task.Delay(200).ConfigureAwait(false);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user