kordlib / kord

Idiomatic Kotlin Wrapper for The Discord API
MIT License
929 stars 81 forks source link

Ignore PRESENCES_REPLACE event #42

Closed BartArys closed 4 years ago

BartArys commented 4 years ago

PRESENCES_REPLACE is an event that fires to update the client's friend list. Since bots can't have friends (😔) this event is completely useless, which is proven by the fact that the payload is an empty array.

Why bots receive this event is one of humanity's greatest mysteries. Nonetheless, we should ignore this event moving forward.

lukellmann commented 8 months ago

With #923, this event would now no longer be ignored. Instead a dev.kord.gateway.UnknownDispatchEvent / dev.kord.core.event.UnknownEvent would be created.