From 828a2c98cab3218e3edf88b7ff21e60b54708faf Mon Sep 17 00:00:00 2001 From: samvaio Date: Wed, 23 Nov 2016 17:13:52 +0530 Subject: [PATCH] Update LogCommand.cs --- src/NadekoBot/Modules/Administration/Commands/LogCommand.cs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/NadekoBot/Modules/Administration/Commands/LogCommand.cs b/src/NadekoBot/Modules/Administration/Commands/LogCommand.cs index 5765ee28..d0a72328 100644 --- a/src/NadekoBot/Modules/Administration/Commands/LogCommand.cs +++ b/src/NadekoBot/Modules/Administration/Commands/LogCommand.cs @@ -139,12 +139,12 @@ namespace NadekoBot.Modules.Administration { var diffRoles = after.Roles.Where(r => !before.Roles.Contains(r)).Select(r => "**" + r.Name + "**"); //str += $"**User's Roles changed āš”āž•**šŸ‘¤`{before.ToString()}`\n\tNow has {string.Join(", ", diffRoles)} role."; - str += $"šŸ‘¤`{before.ToString()}` **User's Role Added** šŸ†” `{before.Id}`\nāš”ā« {string.Join(", ", diffRoles)} **`Now has: {string.Join(", ", after.Roles.Select(r => r.Name)).SanitizeMentions()} role(s)`**"; + str += $"šŸ‘¤`{before.ToString()}` **User's Role Added** šŸ†” `{before.Id}`\nāš”ā« {string.Join(", ", diffRoles)}\nā˜‘ļø`Now has:` **`{string.Join(", ", after.Roles.Select(r => r.Name)).SanitizeMentions()}`** `role(s)`"; } else if (before.Roles.Count() > after.Roles.Count()) { 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)} **`Now has: {string.Join(", ", after.Roles.Select(r => r.Name)).SanitizeMentions()} role(s)`**"; + str += $"šŸ‘¤`{before.ToString()}` **User's Role Removed** šŸ†” `{before.Id}`\nāš”ā¬ {string.Join(", ", diffRoles)}\nā˜‘ļø`Now has:` **`{string.Join(", ", after.Roles.Select(r => r.Name)).SanitizeMentions()}`** `role(s)`"; } } else