mirror of
https://github.com/42wim/matterbridge.git
synced 2024-11-22 02:32:02 -08:00
Add hashtag to channel (discord)
This commit is contained in:
parent
171a53592d
commit
c0c4890887
@ -226,9 +226,9 @@ func (b *bdiscord) replaceChannelMentions(text string) string {
|
|||||||
return "#unknownchannel"
|
return "#unknownchannel"
|
||||||
}
|
}
|
||||||
channel = b.getChannelName(m[2 : len(m)-1])
|
channel = b.getChannelName(m[2 : len(m)-1])
|
||||||
return channel
|
return "#" + channel
|
||||||
}
|
}
|
||||||
return channel
|
return "#" + channel
|
||||||
})
|
})
|
||||||
return text
|
return text
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user