Skip to content

~.voice

Voice Events

VoiceEvent dataclass

VoiceEvent()

Bases: WaveEvent

Base voice event implementation.

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.

VoiceReconnectEvent dataclass

VoiceReconnectEvent()

Bases: VoiceEvent

Dispatched when a voice connection reconnects or resumes.

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.

VoiceWarningEvent dataclass

VoiceWarningEvent()

Bases: VoiceEvent

Dispatched when non-fatal voice issues occur (packet loss, jitter, latency).

type instance-attribute

The type of warning that was issued.

details class-attribute instance-attribute

details: str | int | None = None

Any contextual information that may be provided.

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.