diff options
Diffstat (limited to 'bridge/discord/handlers.go')
-rw-r--r-- | bridge/discord/handlers.go | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/bridge/discord/handlers.go b/bridge/discord/handlers.go index 1ce402c5..2bae3664 100644 --- a/bridge/discord/handlers.go +++ b/bridge/discord/handlers.go @@ -119,6 +119,9 @@ func (b *Bdiscord) messageCreate(s *discordgo.Session, m *discordgo.MessageCreat rmsg.Event = config.EventUserAction } + // Replace emotes + rmsg.Text = replaceEmotes(rmsg.Text) + b.Log.Debugf("<= Sending message from %s on %s to gateway", m.Author.Username, b.Account) b.Log.Debugf("<= Message is %#v", rmsg) b.Remote <- rmsg |