From 2ff403702ee27835efed06bbc392e03e94555184 Mon Sep 17 00:00:00 2001 From: samvaio Date: Wed, 23 Nov 2016 17:04:55 +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 47732508..5765ee28 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)} **`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)} **`Now has: {string.Join(", ", after.Roles.Select(r => r.Name)).SanitizeMentions()} role(s)`**"; } } else