Skip to content

~.bot

Bot Events

BotEvent dataclass

BotEvent()

Bases: WaveEvent

Base bot event implementation.

bot instance-attribute

The bot instance referencing this event.

channel_id instance-attribute

channel_id: hikari.Snowflake

The ID of the channel.

guild_id instance-attribute

guild_id: hikari.Snowflake

The ID of the guild the channel is in.

BotJoinEvent dataclass

BotJoinEvent()

Bases: BotEvent

Dispatched when the bot joins a voice channel.

is_deaf instance-attribute

is_deaf: bool

If the bot is deafened.

is_mute instance-attribute

is_mute: bool

If the bot is muted.

channel_id instance-attribute

channel_id: hikari.Snowflake

The ID of the channel.

guild_id instance-attribute

guild_id: hikari.Snowflake

The ID of the guild the channel is in.

bot instance-attribute

The bot instance referencing this event.

BotLeaveEvent dataclass

BotLeaveEvent()

Bases: BotEvent

Dispatched when the bot leaves a voice channel.

channel_id instance-attribute

channel_id: hikari.Snowflake

The ID of the channel.

guild_id instance-attribute

guild_id: hikari.Snowflake

The ID of the guild the channel is in.

bot instance-attribute

The bot instance referencing this event.