From c0c489088744aabc4014ddf5f0b2161c73f043ef Mon Sep 17 00:00:00 2001 From: Wim Date: Sat, 3 Jun 2017 18:21:47 +0200 Subject: Add hashtag to channel (discord) --- bridge/discord/discord.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'bridge') 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 } -- cgit v1.2.3