diff options
author | Wim <wim@42.be> | 2017-06-03 18:21:47 +0200 |
---|---|---|
committer | Wim <wim@42.be> | 2017-06-03 18:21:47 +0200 |
commit | c0c489088744aabc4014ddf5f0b2161c73f043ef (patch) | |
tree | 8497f9532449531315c21001334c7ef7325786cc /bridge/discord/discord.go | |
parent | 171a53592dc9b865b3e8f13950d762fe83c29149 (diff) | |
download | matterbridge-msglm-c0c489088744aabc4014ddf5f0b2161c73f043ef.tar.gz matterbridge-msglm-c0c489088744aabc4014ddf5f0b2161c73f043ef.tar.bz2 matterbridge-msglm-c0c489088744aabc4014ddf5f0b2161c73f043ef.zip |
Add hashtag to channel (discord)
Diffstat (limited to 'bridge/discord/discord.go')
-rw-r--r-- | bridge/discord/discord.go | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/bridge/discord/discord.go b/bridge/discord/discord.go index f379ede6..12d2e918 100644 --- a/bridge/discord/discord.go +++ b/bridge/discord/discord.go @@ -226,9 +226,9 @@ func (b *bdiscord) replaceChannelMentions(text string) string { return "#unknownchannel" } channel = b.getChannelName(m[2 : len(m)-1]) - return channel + return "#" + channel } - return channel + return "#" + channel }) return text } |