mirror of
https://github.com/deadcxap/YandexMusicDiscordBot.git
synced 2026-01-11 11:51:40 +03:00
18 lines
583 B
Python
18 lines
583 B
Python
from typing import TypedDict, Any
|
|
|
|
class Guild(TypedDict):
|
|
next_tracks_list: list[dict[str, Any]]
|
|
previous_tracks_list: list[dict[str, Any]]
|
|
current_track: dict[str, Any] | None
|
|
is_stopped: bool
|
|
allow_explicit: bool
|
|
allow_menu: bool
|
|
|
|
class ExplicitGuild(TypedDict):
|
|
_id: int
|
|
next_tracks_list: list[dict[str, Any]]
|
|
previous_tracks_list: list[dict[str, Any]]
|
|
current_track: dict[str, Any] | None
|
|
is_stopped: bool # Prevents the `after` callback of play_track
|
|
allow_explicit: bool
|
|
allow_menu: bool # Is /toggle mnu command available |