Update LogCommand.cs
This commit is contained in:
parent
23bfcb55d8
commit
9491d7d5e0
@ -143,7 +143,7 @@ namespace NadekoBot.Modules.Administration
|
|||||||
else if (before.Roles.Count() > after.Roles.Count())
|
else if (before.Roles.Count() > after.Roles.Count())
|
||||||
{
|
{
|
||||||
var diffRoles = before.Roles.Where(r => !after.Roles.Contains(r)).Select(r => "`" + r.Name + "`");
|
var diffRoles = before.Roles.Where(r => !after.Roles.Contains(r)).Select(r => "`" + r.Name + "`");
|
||||||
str += $"👤`{before.ToString()}` **User's Role Removed** 🆔 `{before.Id}`\n⚔⏬ {string.Join(", ", diffRoles)}, **Remaining:** `{string.Join(", ", user.Roles.Select(r => r.Name)).SanitizeMentions()}`";
|
str += $"👤`{before.ToString()}` **User's Role Removed** 🆔 `{before.Id}`\n⚔⏬ {string.Join(", ", diffRoles)}, **Remaining:** `{string.Join(", ", before.Roles.Select(r => r.Name)).SanitizeMentions()}`";
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
|
Loading…
Reference in New Issue
Block a user