diff --git a/NadekoBot/Modules/Administration/Commands/LogCommand.cs b/NadekoBot/Modules/Administration/Commands/LogCommand.cs index 10a1bb9f..e46d3376 100644 --- a/NadekoBot/Modules/Administration/Commands/LogCommand.cs +++ b/NadekoBot/Modules/Administration/Commands/LogCommand.cs @@ -134,8 +134,8 @@ $@"šŸ•”`[{prettyCurrentTime}]` **Message** šŸš® `#{e.Channel.Name}` await ch.SendMessage( $@"šŸ•”`[{prettyCurrentTime}]` **Message** šŸ“ `#{e.Channel.Name}` šŸ‘¤`{e.User?.ToString() ?? ("NULL")}` - `Old:` {e.Before.Text} - `New:` {e.After.Text}").ConfigureAwait(false); + `Old:` {e.Before.Text} + `New:` {e.After.Text}").ConfigureAwait(false); } catch { } } @@ -176,13 +176,13 @@ $@"šŸ•”`[{prettyCurrentTime}]` **Message** šŸ“ `#{e.Channel.Name}` if (e.Before.Name != e.After.Name) str += $"**Name Changed**\n\t`{e.Before.Name}` => `{e.After.Name}`"; else if (e.Before.AvatarUrl != e.After.AvatarUrl) - str += $"**Avatar Changed**\n\t {e.Before.AvatarUrl.ShortenUrl()} `=>` {e.After.AvatarUrl.ShortenUrl()}"; + str += $"**Avatar Changed**šŸ‘¤`{e.Before?.ToString()}`\n\t {await e.Before.AvatarUrl.ShortenUrl()} `=>` {await e.After.AvatarUrl.ShortenUrl()}"; else if (!e.Before.Roles.SequenceEqual(e.After.Roles)) { if (e.Before.Roles.Count() < e.After.Roles.Count()) { var diffRoles = e.After.Roles.Where(r => !e.Before.Roles.Contains(r)).Select(r => "`" + r.Name + "`"); - str += $"**User's Roles changed +**\nšŸ‘¤`{e.Before?.ToString()}`\n\tNow has {string.Join(", ", diffRoles)} role."; + str += $"**User's Roles changed +**šŸ‘¤`{e.Before?.ToString()}`\n\tNow has {string.Join(", ", diffRoles)} role."; } else if (e.Before.Roles.Count() > e.After.Roles.Count()) {