|
|
@ -28,6 +28,9 @@ func queueForReact(messageID string, acceptedEmoji []string, info interface{}, c
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
func CheckForReact(s *discordgo.Session, r *discordgo.MessageReactionAdd) {
|
|
|
|
func CheckForReact(s *discordgo.Session, r *discordgo.MessageReactionAdd) {
|
|
|
|
|
|
|
|
if r.UserID == s.State.User.ID {
|
|
|
|
|
|
|
|
return
|
|
|
|
|
|
|
|
}
|
|
|
|
entry, ok := reactCallbacks[r.MessageID]
|
|
|
|
entry, ok := reactCallbacks[r.MessageID]
|
|
|
|
if !ok {
|
|
|
|
if !ok {
|
|
|
|
return
|
|
|
|
return
|
|
|
|