mirror of
https://github.com/42wim/matterbridge.git
synced 2024-11-15 08:29:25 +01:00
parent
ff27746c0c
commit
79a006c8de
@ -183,7 +183,7 @@ func (b *Bdiscord) stripCustomoji(text string) string {
|
||||
|
||||
func (b *Bdiscord) replaceAction(text string) (string, bool) {
|
||||
if strings.HasPrefix(text, "_") && strings.HasSuffix(text, "_") {
|
||||
return text[1:], true
|
||||
return text[1 : len(text)-1], true
|
||||
}
|
||||
return text, false
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user