commit 4e3ac840cf1b9554fc3e8a936167d41def0e72fb
Author: Wim <wim@42.be>
Date: Mon Jul 29 23:37:38 2019 +0000
diff --git a/bridge/discord/helpers.go b/bridge/discord/helpers.go
index cf12c95..5867684 100644
--- a/bridge/discord/helpers.go
+++ b/bridge/discord/helpers.go
@@ -1837 +1837 @@ 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
}