feat: Basic "My Vibe" implementation.

This commit is contained in:
Lemon4ksan
2025-01-26 22:07:47 +03:00
parent 85f7ee6c6c
commit c49ff949cf
11 changed files with 350 additions and 116 deletions

View File

@@ -11,7 +11,7 @@ class Guild(TypedDict, total=False):
next_tracks: list[dict[str, Any]]
previous_tracks: list[dict[str, Any]]
current_track: dict[str, Any] | None
current_player: int | None
current_menu: int | None
is_stopped: bool
allow_explicit: bool
always_allow_menu: bool
@@ -23,13 +23,14 @@ class Guild(TypedDict, total=False):
shuffle: bool
repeat: bool
votes: dict[str, MessageVotes]
vibing: bool
class ExplicitGuild(TypedDict):
_id: int
next_tracks: list[dict[str, Any]]
previous_tracks: list[dict[str, Any]]
current_track: dict[str, Any] | None
current_player: int | None
current_menu: int | None
is_stopped: bool # Prevents the `after` callback of play_track
allow_explicit: bool
always_allow_menu: bool
@@ -40,4 +41,5 @@ class ExplicitGuild(TypedDict):
vote_add_playlist: bool
shuffle: bool
repeat: bool
votes: dict[str, MessageVotes]
votes: dict[str, MessageVotes]
vibing: bool