Module dextbird.plug

Functions

async def update_voice_state(client: discord.client.Client, option: Option) ‑> None

Classes

class GuildNotFoundError (*args, **kwargs)

Common base class for all non-exit exceptions.

Expand source code
class GuildNotFoundError(Exception):
    pass

Ancestors

  • builtins.Exception
  • builtins.BaseException
class Option (*args, **kwargs)

dict() -> new empty dictionary dict(mapping) -> new dictionary initialized from a mapping object's (key, value) pairs dict(iterable) -> new dictionary initialized as if via: d = {} for k, v in iterable: d[k] = v dict(**kwargs) -> new dictionary initialized with the name=value pairs in the keyword argument list. For example: dict(one=1, two=2)

Expand source code
class Option(TypedDict):
    guild_id: int
    channel_id: Optional[int]
    self_deaf: bool
    self_mute: bool

Ancestors

  • builtins.dict

Class variables

var channel_id : Optional[int]
var guild_id : int
var self_deaf : bool
var self_mute : bool