1
0
Fork 0
mirror of https://github.com/diamondburned/arikawa.git synced 2024-10-02 07:18:49 +00:00

State: Fixed breaking change from previous Gateway change

This commit is contained in:
diamondburned 2020-10-28 19:47:22 -07:00
parent b8e4b2cf56
commit b7b8118d0b

View file

@ -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 {