5
0
mirror of https://github.com/cwinfo/matterbridge.git synced 2024-11-10 03:10:26 +00:00

Add hashtag to channel (discord)

This commit is contained in:
Wim 2017-06-03 18:21:47 +02:00
parent 171a53592d
commit c0c4890887

View File

@ -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
}