Skip to main content

WANTED_EVENTS

Constant WANTED_EVENTS 

Source
pub(crate) const WANTED_EVENTS: EventTypeFlags;
Expand description

The gateway events event::handle acts on.

Everything else is skipped before deserialization, which matters most for the large guild payloads; GUILD_CREATE is kept only to invalidate roles.