GatewayEvents: {
*: ((payload) => void);
APPLICATION_COMMAND_PERMISSIONS_UPDATE: ((payload) => void);
AUTO_MODERATION_ACTION_EXECUTION: ((payload) => void);
AUTO_MODERATION_RULE_CREATE: ((payload) => void);
AUTO_MODERATION_RULE_DELETE: ((payload) => void);
AUTO_MODERATION_RULE_UPDATE: ((payload) => void);
CHANNEL_CREATE: ((payload) => void);
CHANNEL_DELETE: ((payload) => void);
CHANNEL_PINS_UPDATE: ((payload) => void);
CHANNEL_UPDATE: ((payload) => void);
GUILD_AUDIT_LOG_ENTRY_CREATE: ((payload) => void);
GUILD_BAN_ADD: ((payload) => void);
GUILD_BAN_REMOVE: ((payload) => void);
GUILD_CREATE: ((payload) => void);
GUILD_DELETE: ((payload) => void);
GUILD_EMOJIS_UPDATE: ((payload) => void);
GUILD_INTEGRATIONS_UPDATE: ((payload) => void);
GUILD_MEMBERS_CHUNK: ((payload) => void);
GUILD_MEMBER_ADD: ((payload) => void);
GUILD_MEMBER_REMOVE: ((payload) => void);
GUILD_MEMBER_UPDATE: ((payload) => void);
GUILD_ROLE_CREATE: ((payload) => void);
GUILD_ROLE_DELETE: ((payload) => void);
GUILD_ROLE_UPDATE: ((payload) => void);
GUILD_SCHEDULED_EVENT_CREATE: ((payload) => void);
GUILD_SCHEDULED_EVENT_DELETE: ((payload) => void);
GUILD_SCHEDULED_EVENT_UPDATE: ((payload) => void);
GUILD_SCHEDULED_EVENT_USER_ADD: ((payload) => void);
GUILD_SCHEDULED_EVENT_USER_REMOVE: ((payload) => void);
GUILD_STICKERS_UPDATE: ((payload) => void);
GUILD_UPDATE: ((payload) => void);
INTEGRATION_CREATE: ((payload) => void);
INTEGRATION_DELETE: ((payload) => void);
INTEGRATION_UPDATE: ((payload) => void);
INTERACTION_CREATE: ((payload) => void);
INVITE_CREATE: ((payload) => void);
INVITE_DELETE: ((payload) => void);
MANAGER_READY: ((successfulSpawns, unsuccessfulSpawns) => void);
MESSAGE_CREATE: ((payload) => void);
MESSAGE_DELETE: ((payload) => void);
MESSAGE_DELETE_BULK: ((payload) => void);
MESSAGE_REACTION_ADD: ((payload) => void);
MESSAGE_REACTION_REMOVE: ((payload) => void);
MESSAGE_REACTION_REMOVE_ALL: ((payload) => void);
MESSAGE_REACTION_REMOVE_EMOJI: ((payload) => void);
MESSAGE_UPDATE: ((payload) => void);
PRESENCE_UPDATE: ((payload) => void);
READY: ((payload) => void);
RESUMED: ((payload) => void);
SENT_PAYLOAD: ((payload) => void);
SHARD_CONNECTING: ((shard) => void);
SHARD_DISCONNECTED: ((payload) => void);
SHARD_GUILDS_READY: ((shard) => void);
SHARD_IDLE: ((shard) => void);
SHARD_READY: ((shard) => void);
STAGE_INSTANCE_CREATE: ((payload) => void);
STAGE_INSTANCE_DELETE: ((payload) => void);
STAGE_INSTANCE_UPDATE: ((payload) => void);
THREAD_CREATE: ((payload) => void);
THREAD_DELETE: ((payload) => void);
THREAD_LIST_SYNC: ((payload) => void);
THREAD_MEMBERS_UPDATE: ((payload) => void);
THREAD_MEMBER_UPDATE: ((payload) => void);
THREAD_UPDATE: ((payload) => void);
TYPING_START: ((payload) => void);
USER_UPDATE: ((payload) => void);
VOICE_SERVER_UPDATE: ((payload) => void);
VOICE_STATE_UPDATE: ((payload) => void);
WEBHOOKS_UPDATE: ((payload) => void);
}
Gateway events. Note that with the exception of
MANAGER_READY
, all events are a relay of a gateway shard's event emit (For example,READY
signifies a single shard receiving aREADY
dispatch).See
Discord API Reference