mirror of
https://github.com/diamondburned/arikawa.git
synced 2024-12-01 03:03:48 +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
|
return true
|
||||||
})
|
})
|
||||||
|
|
||||||
case *gateway.MessageReactionRemoveEmoji:
|
case *gateway.MessageReactionRemoveEmojiEvent:
|
||||||
s.editMessage(ev.ChannelID, ev.MessageID, func(m *discord.Message) bool {
|
s.editMessage(ev.ChannelID, ev.MessageID, func(m *discord.Message) bool {
|
||||||
var i = findReaction(m.Reactions, ev.Emoji)
|
var i = findReaction(m.Reactions, ev.Emoji)
|
||||||
if i < 0 {
|
if i < 0 {
|
||||||
|
|
Loading…
Reference in a new issue