Update LogCommand.cs

This commit is contained in:
samvaio 2016-11-23 00:11:48 +05:30 committed by GitHub
parent e602bbb7ab
commit a96d62d40c

View File

@ -409,7 +409,7 @@ namespace NadekoBot.Modules.Administration
{ {
try try
{ {
var str = $@"🕔`{prettyCurrentTime}`👤`{msg.Author.Username}#{msg.Author.Discriminator} `**Deleted Message** #⃣ `{channel.Name}` var str = $@"🕔`{prettyCurrentTime}`\t👤`{msg.Author.Username}#{msg.Author.Discriminator}`\t**Deleted Message**\t#⃣ `{channel.Name}`
🗑 `{msg.Resolve(userHandling: UserMentionHandling.NameAndDiscriminator)}`"; 🗑 `{msg.Resolve(userHandling: UserMentionHandling.NameAndDiscriminator)}`";
if (msg.Attachments.Any()) if (msg.Attachments.Any())
str += $"{Environment.NewLine}`Attachements`: {string.Join(", ", msg.Attachments.Select(a => a.ProxyUrl))}"; str += $"{Environment.NewLine}`Attachements`: {string.Join(", ", msg.Attachments.Select(a => a.ProxyUrl))}";