Update LogCommand.cs
This commit is contained in:
parent
91764ceee8
commit
6467226fa6
@ -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)}";
|
str += $"👤`{before.ToString()}` **User's Role Removed** 🆔 `{before.Id}`\n⚔➖ **No Longer has {string.Join(", ", diffRoles)} role**";
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
|
Loading…
Reference in New Issue
Block a user