Update message edit listener to include jump link

This commit is contained in:
Jack Merrill 2024-01-22 14:22:56 -05:00
parent 0b1c1ae3a9
commit 944a4e95d8
No known key found for this signature in database

View File

@ -55,8 +55,12 @@ func (l *MessageEditListener) Exec(s *discordgo.Session, e *discordgo.MessageUpd
Embed: &discordgo.MessageEmbed{
Title: "Message edited",
Fields: fields,
Color: 0xffff00,
Image: image,
Description: fmt.Sprintf(
"[Jump to message](https://discordapp.com/channels/%s/%s/%s)",
e.GuildID, e.ChannelID, e.ID,
),
Color: 0xffff00,
Image: image,
},
})