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)
|
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)
|
foreach (var gu in gus)
|
||||||
{
|
{
|
||||||
switch (action)
|
switch (action)
|
||||||
|
@ -93,7 +93,7 @@ namespace NadekoBot.Modules.Administration
|
|||||||
if (beforeRole != null)
|
if (beforeRole != null)
|
||||||
try
|
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 user.RemoveRolesAsync(beforeRole).ConfigureAwait(false);
|
||||||
await Task.Delay(200).ConfigureAwait(false);
|
await Task.Delay(200).ConfigureAwait(false);
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user