From c4379e65006e076afb5e4ffb280d1ac62edbb54c Mon Sep 17 00:00:00 2001 From: samvaio Date: Wed, 23 Nov 2016 15:36:09 +0530 Subject: [PATCH] Update LogCommand.cs - userid added to deleted messeges --- src/NadekoBot/Modules/Administration/Commands/LogCommand.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/NadekoBot/Modules/Administration/Commands/LogCommand.cs b/src/NadekoBot/Modules/Administration/Commands/LogCommand.cs index 88efd537..6637105f 100644 --- a/src/NadekoBot/Modules/Administration/Commands/LogCommand.cs +++ b/src/NadekoBot/Modules/Administration/Commands/LogCommand.cs @@ -409,7 +409,7 @@ namespace NadekoBot.Modules.Administration { try { - var str = $@"🕔`{prettyCurrentTime}`👤`{msg.Author.Username}#{msg.Author.Discriminator}` **Deleted Message** #⃣ `{channel.Name}` + var str = $@"🕔`{prettyCurrentTime}`👤`{msg.Author.Username}#{msg.Author.Discriminator}` **Deleted Message** 🆔 `{usr.Id}` #⃣ `{channel.Name}` 🗑 {msg.Resolve(userHandling: UserMentionHandling.NameAndDiscriminator)}"; if (msg.Attachments.Any()) str += $"{Environment.NewLine}📎 {string.Join(", ", msg.Attachments.Select(a => a.ProxyUrl))}";