diff options
Diffstat (limited to 'bridge/discord')
-rw-r--r-- | bridge/discord/handlers.go | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/bridge/discord/handlers.go b/bridge/discord/handlers.go index 9260427d..4ffbf5ab 100644 --- a/bridge/discord/handlers.go +++ b/bridge/discord/handlers.go @@ -58,7 +58,10 @@ func (b *Bdiscord) messageUpdate(s *discordgo.Session, m *discordgo.MessageUpdat if m.Message.EditedTimestamp != "" { b.Log.Debugf("Sending edit message") m.Content += b.GetString("EditSuffix") - b.messageCreate(s, (*discordgo.MessageCreate)(m)) + msg := &discordgo.MessageCreate{ + Message: m.Message, + } + b.messageCreate(s, msg) } } |