summaryrefslogtreecommitdiffstats
path: root/bridge/discord/discord.go
diff options
context:
space:
mode:
authorWim <wim@42.be>2017-06-03 18:21:47 +0200
committerWim <wim@42.be>2017-06-03 18:21:47 +0200
commitc0c489088744aabc4014ddf5f0b2161c73f043ef (patch)
tree8497f9532449531315c21001334c7ef7325786cc /bridge/discord/discord.go
parent171a53592dc9b865b3e8f13950d762fe83c29149 (diff)
downloadmatterbridge-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.go4
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
}