Events that can be fired by Hikari's gateway implementation.

Expand source code
Browse git
# -*- coding: utf-8 -*-
# cython: language_level=3
# Copyright (c) 2020 Nekokatt
# Copyright (c) 2021-present davfsa
#
# Permission is hereby granted, free of charge, to any person obtaining a copy
# of this software and associated documentation files (the "Software"), to deal
# in the Software without restriction, including without limitation the rights
# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
# copies of the Software, and to permit persons to whom the Software is
# furnished to do so, subject to the following conditions:
#
# The above copyright notice and this permission notice shall be included in all
# copies or substantial portions of the Software.
#
# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
# SOFTWARE.
"""Events that can be fired by Hikari's gateway implementation."""

from __future__ import annotations

from hikari.events.application_events import *
from hikari.events.base_events import Event
from hikari.events.base_events import ExceptionEvent
from hikari.events.channel_events import *
from hikari.events.guild_events import *
from hikari.events.interaction_events import *
from hikari.events.lifetime_events import *
from hikari.events.member_events import *
from hikari.events.message_events import *
from hikari.events.reaction_events import *
from hikari.events.role_events import *
from hikari.events.scheduled_events import *
from hikari.events.shard_events import *
from hikari.events.typing_events import *
from hikari.events.user_events import *
from hikari.events.voice_events import *

Child Modules

module application_events

Events fired for application related changes.

module base_events

Base types and functions for events in Hikari.

module channel_events

Events that fire when channels are modified …

module guild_events

Events that fire when something occurs within a guild.

module interaction_events

Events fired for interaction related changes.

module lifetime_events

Events that are bound to the lifetime of an application …

module member_events

Events concerning manipulation of members within guilds.

module message_events

Events that fire if messages are sent/updated/deleted.

module reaction_events

Events that fire if messages are reacted to.

module role_events

Events pertaining to manipulation of roles within guilds.

module scheduled_events

Events fired for guild scheduled event related changes.

module shard_events

Events relating to specific shards events.

module typing_events

Events fired when users begin typing in channels.

module user_events

Events fired when the account user is updated.

module voice_events

Events that fire when voice state changes.