fixed message updated and message title in logs
This commit is contained in:
parent
a88f056935
commit
51e45d17a0
@ -653,7 +653,7 @@ namespace NadekoBot.Modules.Administration
|
|||||||
return;
|
return;
|
||||||
var embed = new EmbedBuilder()
|
var embed = new EmbedBuilder()
|
||||||
.WithOkColor()
|
.WithOkColor()
|
||||||
.WithTitle($"🗑 Message Deleted in {((ITextChannel)msg.Channel).Mention}")
|
.WithTitle($"🗑 Message Deleted in #{((ITextChannel)msg.Channel).Name}")
|
||||||
.WithDescription($"{msg.Author}")
|
.WithDescription($"{msg.Author}")
|
||||||
.AddField(efb => efb.WithName("Content").WithValue(msg.Resolve(userHandling: TagHandling.FullName)).WithIsInline(false))
|
.AddField(efb => efb.WithName("Content").WithValue(msg.Resolve(userHandling: TagHandling.FullName)).WithIsInline(false))
|
||||||
.AddField(efb => efb.WithName("Id").WithValue(msg.Id.ToString()).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()
|
var embed = new EmbedBuilder()
|
||||||
.WithOkColor()
|
.WithOkColor()
|
||||||
.WithTitle($"📝 Message Updated in {((ITextChannel)after.Channel).Mention}")
|
.WithTitle($"📝 Message Updated in #{((ITextChannel)after.Channel).Name}")
|
||||||
.WithDescription(after.Author.ToString())
|
.WithDescription(after.Author.ToString())
|
||||||
.AddField(efb => efb.WithName("Old Message").WithValue(before.Resolve(userHandling: TagHandling.FullName)).WithIsInline(false))
|
.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))
|
.AddField(efb => efb.WithName("New Message").WithValue(after.Resolve(userHandling: TagHandling.FullName)).WithIsInline(false))
|
||||||
|
Loading…
Reference in New Issue
Block a user