mirror of
https://github.com/diamondburned/arikawa.git
synced 2024-11-30 18:53:30 +00:00
State: Fixed breaking change from previous Gateway change
This commit is contained in:
parent
b8e4b2cf56
commit
b7b8118d0b
|
@ -240,7 +240,7 @@ func (s *State) onEvent(iface interface{}) {
|
|||
return true
|
||||
})
|
||||
|
||||
case *gateway.MessageReactionRemoveEmoji:
|
||||
case *gateway.MessageReactionRemoveEmojiEvent:
|
||||
s.editMessage(ev.ChannelID, ev.MessageID, func(m *discord.Message) bool {
|
||||
var i = findReaction(m.Reactions, ev.Emoji)
|
||||
if i < 0 {
|
||||
|
|
Loading…
Reference in a new issue