From 51e45d17a0ed0d0cf4c52608cf19fd3d1ca12612 Mon Sep 17 00:00:00 2001 From: Kwoth Date: Thu, 9 Feb 2017 21:08:02 +0100 Subject: [PATCH] fixed message updated and message title in logs --- 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 db339d4f..4219ff98 100644 --- a/src/NadekoBot/Modules/Administration/Commands/LogCommand.cs +++ b/src/NadekoBot/Modules/Administration/Commands/LogCommand.cs @@ -653,7 +653,7 @@ namespace NadekoBot.Modules.Administration return; var embed = new EmbedBuilder() .WithOkColor() - .WithTitle($"🗑 Message Deleted in {((ITextChannel)msg.Channel).Mention}") + .WithTitle($"🗑 Message Deleted in #{((ITextChannel)msg.Channel).Name}") .WithDescription($"{msg.Author}") .AddField(efb => efb.WithName("Content").WithValue(msg.Resolve(userHandling: TagHandling.FullName)).WithIsInline(false)) .AddField(efb => efb.WithName("Id").WithValue(msg.Id.ToString()).WithIsInline(false)) @@ -697,7 +697,7 @@ namespace NadekoBot.Modules.Administration var embed = new EmbedBuilder() .WithOkColor() - .WithTitle($"📝 Message Updated in {((ITextChannel)after.Channel).Mention}") + .WithTitle($"📝 Message Updated in #{((ITextChannel)after.Channel).Name}") .WithDescription(after.Author.ToString()) .AddField(efb => efb.WithName("Old Message").WithValue(before.Resolve(userHandling: TagHandling.FullName)).WithIsInline(false)) .AddField(efb => efb.WithName("New Message").WithValue(after.Resolve(userHandling: TagHandling.FullName)).WithIsInline(false))