mirror of
https://github.com/jackmerrill/hampbot.git
synced 2024-12-04 13:02:59 -08:00
Update message edit listener to include jump link
This commit is contained in:
parent
0b1c1ae3a9
commit
944a4e95d8
|
@ -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,
|
||||
},
|
||||
})
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user