diff options
Diffstat (limited to 'bridge/discord')
-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 85bac2ec..85a36e1d 100644 --- a/bridge/discord/handlers.go +++ b/bridge/discord/handlers.go @@ -71,6 +71,9 @@ func (b *Bdiscord) messageCreate(s *discordgo.Session, m *discordgo.MessageCreat rmsg.Username = b.getNick(m.Author) } else { rmsg.Username = m.Author.Username + if b.GetBool("UseDiscriminator") { + rmsg.Username += "#" + m.Author.Discriminator + } } // if we have embedded content add it to text |