Fix emoji reactions
ci/woodpecker/push/woodpecker Pipeline was successful
Details
ci/woodpecker/push/woodpecker Pipeline was successful
Details
This commit is contained in:
parent
082348465e
commit
8de82dd138
|
@ -207,8 +207,8 @@ func performReaction(s *discordgo.Session, reaction db.Reaction, content string,
|
|||
}
|
||||
case db.ReactionTypeEmoji:
|
||||
var emojis []string
|
||||
if strings.Contains(content, ",") {
|
||||
emojis = strings.Split(content, ",")
|
||||
if strings.Contains(content, "\x1F") {
|
||||
emojis = strings.Split(content, "\x1F")
|
||||
} else {
|
||||
emojis = []string{content}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue