diff options
Diffstat (limited to 'bridge/discord/discord.go')
-rw-r--r-- | bridge/discord/discord.go | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/bridge/discord/discord.go b/bridge/discord/discord.go index 446977ad..7995a06d 100644 --- a/bridge/discord/discord.go +++ b/bridge/discord/discord.go @@ -103,7 +103,8 @@ func (b *bdiscord) Send(msg config.Message) error { flog.Errorf("Could not find channelID for %v", msg.Channel) return nil } - b.c.ChannelMessageSend(channelID, msg.Username+msg.Text) + nick := config.GetNick(&msg, b.Config) + b.c.ChannelMessageSend(channelID, nick+msg.Text) return nil } |