From 0bc159341dbb4aece685ce373e9bc0b6b32984e7 Mon Sep 17 00:00:00 2001 From: Wim Date: Sun, 27 Oct 2019 01:45:57 +0200 Subject: Update vendor (#932) * Update vendor * Fix godiscord api change --- bridge/discord/handlers.go | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'bridge') 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) } } -- cgit v1.2.3