Update LogCommand.cs

This commit is contained in:
samvaio 2016-11-23 16:00:14 +05:30 committed by GitHub
parent 8fda7ad06a
commit 91764ceee8

View File

@ -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 Roles Removed** 🆔 {before.Id}\n⚔{string.Join(", ", diffRoles)}"; str += $"👤`{before.ToString()}` **User's Role Removed** 🆔 `{before.Id}`\n⚔{string.Join(", ", diffRoles)}";
} }
} }
else else