discordaio.voice

Classes

class discordaio.voice.VoiceState(guild_id: Optional[int] = None, channel_id: int = 0, user_id: int = 0, session_id: str = '', deaf=False, mute=False, self_deaf=False, self_mute=False, suppress=False)[source]

Used to represent a user’s voice connection status.

guild_id

the guild id this voice state is for

Type:int, optional
channel_id

the channel id this user is connected to

Type:int
user_id

the user id this voice state is for

Type:int
session_id

the session id for this voice state

Type:str
deaf

whether this user is deafened by the server

Type:bool
mute

whether this user is muted by the server

Type:bool
self_deaf

whether this user is locally deafened

Type:bool
self_mute

whether this user is locally muted

Type:bool
suppress

whether this user is muted by the current user

Type:bool

Inheritance

Inheritance diagram of VoiceState
class discordaio.voice.VoiceRegion(id='', name='', vip=False, optimal=False, deprecated=False, custom=False)[source]
id

unique ID for the region

Type:str
name

name of the region

Type:str
vip

true if this is a vip-only server

Type:bool
optimal

true for a single server that is closest to the current user’s client

Type:bool
deprecated

whether this is a deprecated voice region (avoid switching to these)

Type:bool
custom

whether this is a custom voice region (used for events/etc)

Type:bool

Inheritance

Inheritance diagram of VoiceRegion