Update LogCommand.cs

This commit is contained in:
samvaio 2016-11-23 16:28:25 +05:30 committed by GitHub
parent 6467226fa6
commit 23bfcb55d8

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 Role Removed** 🆔 `{before.Id}`\n⚔ **No Longer has {string.Join(", ", diffRoles)} role**"; str += $"👤`{before.ToString()}` **User's Role Removed** 🆔 `{before.Id}`\n⚔⏬ {string.Join(", ", diffRoles)}, **Remaining:** `{string.Join(", ", user.Roles.Select(r => r.Name)).SanitizeMentions()}`";
} }
} }
else else