hikari.impl.event_manager
#
Event handling logic for more info.
EventManagerImpl #
EventManagerImpl(entity_factory: EntityFactory, event_factory: EventFactory, intents: Intents, /, *, auto_chunk_members: bool = True, cache: Optional[MutableCache] = None)
Bases: EventManagerBase
Provides event handling logic for Discord events.
on_channel_create async
#
on_channel_create(shard: GatewayShard, payload: JSONObject) -> None
See https://discord.com/developers/docs/topics/gateway-events#channel-create for more info.
on_channel_delete async
#
on_channel_delete(shard: GatewayShard, payload: JSONObject) -> None
See https://discord.com/developers/docs/topics/gateway-events#channel-delete for more info.
on_channel_pins_update async
#
on_channel_pins_update(shard: GatewayShard, payload: JSONObject) -> None
See https://discord.com/developers/docs/topics/gateway-events#channel-pins-update for more info.
on_channel_update async
#
on_channel_update(shard: GatewayShard, payload: JSONObject) -> None
See https://discord.com/developers/docs/topics/gateway-events#channel-update for more info.
on_entitlement_create async
#
on_entitlement_create(shard: GatewayShard, payload: JSONObject) -> None
See https://discord.com/developers/docs/topics/gateway-events#entitlement-create for more info.
on_entitlement_delete async
#
on_entitlement_delete(shard: GatewayShard, payload: JSONObject) -> None
See https://discord.com/developers/docs/topics/gateway-events#entitlement-delete for more info.
on_entitlement_update async
#
on_entitlement_update(shard: GatewayShard, payload: JSONObject) -> None
See https://discord.com/developers/docs/topics/gateway-events#entitlement-update for more info.
on_guild_audit_log_entry_create async
#
on_guild_audit_log_entry_create(shard: GatewayShard, payload: JSONObject) -> None
See https://discord.com/developers/docs/topics/gateway-events#guild-audit-log-entry-create for more info.
on_guild_ban_add async
#
on_guild_ban_add(shard: GatewayShard, payload: JSONObject) -> None
See https://discord.com/developers/docs/topics/gateway-events#guild-ban-add for more info.
on_guild_ban_remove async
#
on_guild_ban_remove(shard: GatewayShard, payload: JSONObject) -> None
See https://discord.com/developers/docs/topics/gateway-events#guild-ban-remove for more info.
on_guild_create async
#
on_guild_create(shard: GatewayShard, payload: JSONObject) -> None
See https://discord.com/developers/docs/topics/gateway-events#guild-create for more info.
on_guild_delete async
#
on_guild_delete(shard: GatewayShard, payload: JSONObject) -> None
See https://discord.com/developers/docs/topics/gateway-events#guild-delete for more info.
on_guild_emojis_update async
#
on_guild_emojis_update(shard: GatewayShard, payload: JSONObject) -> None
See https://discord.com/developers/docs/topics/gateway-events#guild-emojis-update for more info.
on_guild_integrations_update async
#
on_guild_integrations_update(_: GatewayShard, __: JSONObject) -> None
See https://discord.com/developers/docs/topics/gateway-events#guild-integrations-update for more info.
on_guild_member_add async
#
on_guild_member_add(shard: GatewayShard, payload: JSONObject) -> None
See https://discord.com/developers/docs/topics/gateway-events#guild-member-add for more info.
on_guild_member_remove async
#
on_guild_member_remove(shard: GatewayShard, payload: JSONObject) -> None
See https://discord.com/developers/docs/topics/gateway-events#guild-member-remove for more info.
on_guild_member_update async
#
on_guild_member_update(shard: GatewayShard, payload: JSONObject) -> None
See https://discord.com/developers/docs/topics/gateway-events#guild-member-update for more info.
on_guild_members_chunk async
#
on_guild_members_chunk(shard: GatewayShard, payload: JSONObject) -> None
See https://discord.com/developers/docs/topics/gateway-events#guild-members-chunk for more info.
on_guild_role_create async
#
on_guild_role_create(shard: GatewayShard, payload: JSONObject) -> None
See https://discord.com/developers/docs/topics/gateway-events#guild-role-create for more info.
on_guild_role_delete async
#
on_guild_role_delete(shard: GatewayShard, payload: JSONObject) -> None
See https://discord.com/developers/docs/topics/gateway-events#guild-role-delete for more info.
on_guild_role_update async
#
on_guild_role_update(shard: GatewayShard, payload: JSONObject) -> None
See https://discord.com/developers/docs/topics/gateway-events#guild-role-update for more info.
on_guild_scheduled_event_create async
#
on_guild_scheduled_event_create(shard: GatewayShard, payload: JSONObject) -> None
See https://discord.com/developers/docs/topics/gateway-events#guild-scheduled-event-create for more info.
on_guild_scheduled_event_delete async
#
on_guild_scheduled_event_delete(shard: GatewayShard, payload: JSONObject) -> None
See https://discord.com/developers/docs/topics/gateway-events#guild-scheduled-event-delete for more info.
on_guild_scheduled_event_update async
#
on_guild_scheduled_event_update(shard: GatewayShard, payload: JSONObject) -> None
See https://discord.com/developers/docs/topics/gateway-events#guild-scheduled-event-update for more info.
on_guild_scheduled_event_user_add async
#
on_guild_scheduled_event_user_add(shard: GatewayShard, payload: JSONObject) -> None
See https://discord.com/developers/docs/topics/gateway-events#guild-scheduled-event-user-add for more info.
on_guild_scheduled_event_user_remove async
#
on_guild_scheduled_event_user_remove(shard: GatewayShard, payload: JSONObject) -> None
See https://discord.com/developers/docs/topics/gateway-events#guild-scheduled-event-user-remove for more info.
on_guild_stickers_update async
#
on_guild_stickers_update(shard: GatewayShard, payload: JSONObject) -> None
See https://discord.com/developers/docs/topics/gateway-events#guild-stickers-update for more info.
on_guild_update async
#
on_guild_update(shard: GatewayShard, payload: JSONObject) -> None
See https://discord.com/developers/docs/topics/gateway-events#guild-update for more info.
on_interaction_create async
#
on_interaction_create(shard: GatewayShard, payload: JSONObject) -> None
See https://discord.com/developers/docs/topics/gateway-events#interaction-create for more info.
on_invite_create async
#
on_invite_create(shard: GatewayShard, payload: JSONObject) -> None
See https://discord.com/developers/docs/topics/gateway-events#invite-create for more info.
on_invite_delete async
#
on_invite_delete(shard: GatewayShard, payload: JSONObject) -> None
See https://discord.com/developers/docs/topics/gateway-events#invite-delete for more info.
on_message_create async
#
on_message_create(shard: GatewayShard, payload: JSONObject) -> None
See https://discord.com/developers/docs/topics/gateway-events#message-create for more info.
on_message_delete async
#
on_message_delete(shard: GatewayShard, payload: JSONObject) -> None
See https://discord.com/developers/docs/topics/gateway-events#message-delete for more info.
on_message_delete_bulk async
#
on_message_delete_bulk(shard: GatewayShard, payload: JSONObject) -> None
See https://discord.com/developers/docs/topics/gateway-events#message-delete-bulk for more info.
on_message_reaction_add async
#
on_message_reaction_add(shard: GatewayShard, payload: JSONObject) -> None
See https://discord.com/developers/docs/topics/gateway-events#message-reaction-add for more info.
on_message_reaction_remove async
#
on_message_reaction_remove(shard: GatewayShard, payload: JSONObject) -> None
See https://discord.com/developers/docs/topics/gateway-events#message-reaction-remove for more info.
on_message_reaction_remove_all async
#
on_message_reaction_remove_all(shard: GatewayShard, payload: JSONObject) -> None
See https://discord.com/developers/docs/topics/gateway-events#message-reaction-remove-all for more info.
on_message_reaction_remove_emoji async
#
on_message_reaction_remove_emoji(shard: GatewayShard, payload: JSONObject) -> None
See https://discord.com/developers/docs/topics/gateway-events#message-reaction-remove-emoji for more info.
on_message_update async
#
on_message_update(shard: GatewayShard, payload: JSONObject) -> None
See https://discord.com/developers/docs/topics/gateway-events#message-update for more info.
on_presence_update async
#
on_presence_update(shard: GatewayShard, payload: JSONObject) -> None
See https://discord.com/developers/docs/topics/gateway-events#presence-update for more info.
on_ready async
#
on_ready(shard: GatewayShard, payload: JSONObject) -> None
See https://discord.com/developers/docs/topics/gateway-events#ready for more info.
on_resumed async
#
on_resumed(shard: GatewayShard, _: JSONObject) -> None
See https://discord.com/developers/docs/topics/gateway-events#resumed for more info.
on_thread_create async
#
on_thread_create(shard: GatewayShard, payload: JSONObject) -> None
See https://discord.com/developers/docs/topics/gateway-events#thread-create for more info.
on_thread_delete async
#
on_thread_delete(shard: GatewayShard, payload: JSONObject) -> None
See https://discord.com/developers/docs/topics/gateway-events#thread-delete for more info.
on_thread_list_sync async
#
on_thread_list_sync(shard: GatewayShard, payload: JSONObject) -> None
See https://discord.com/developers/docs/topics/gateway-events#thread-list-sync for more info.
on_thread_members_update async
#
on_thread_members_update(shard: GatewayShard, payload: JSONObject) -> None
See https://discord.com/developers/docs/topics/gateway-events#thread-members-update for more info.
on_thread_update async
#
on_thread_update(shard: GatewayShard, payload: JSONObject) -> None
See https://discord.com/developers/docs/topics/gateway-events#thread-update for more info.
on_typing_start async
#
on_typing_start(shard: GatewayShard, payload: JSONObject) -> None
See https://discord.com/developers/docs/topics/gateway-events#typing-start for more info.
on_user_update async
#
on_user_update(shard: GatewayShard, payload: JSONObject) -> None
See https://discord.com/developers/docs/topics/gateway-events#user-update for more info.
on_voice_server_update async
#
on_voice_server_update(shard: GatewayShard, payload: JSONObject) -> None
See https://discord.com/developers/docs/topics/gateway-events#voice-server-update for more info.
on_voice_state_update async
#
on_voice_state_update(shard: GatewayShard, payload: JSONObject) -> None
See https://discord.com/developers/docs/topics/gateway-events#voice-state-update for more info.
on_webhooks_update async
#
on_webhooks_update(shard: GatewayShard, payload: JSONObject) -> None
See https://discord.com/developers/docs/topics/gateway-events#webhooks-update for more info.