mirror of
https://github.com/deadcxap/YandexMusicDiscordBot.git
synced 2026-01-11 12:11:39 +03:00
impr: Add player repeat and shuffle, play artist and playlist. Code optimization.
This commit is contained in:
@@ -8,6 +8,8 @@ class Guild(TypedDict, total=False):
|
||||
is_stopped: bool
|
||||
allow_explicit: bool
|
||||
allow_menu: bool
|
||||
shuffle: bool
|
||||
repeat: bool
|
||||
|
||||
class ExplicitGuild(TypedDict):
|
||||
_id: int
|
||||
@@ -17,4 +19,6 @@ class ExplicitGuild(TypedDict):
|
||||
current_player: int | None
|
||||
is_stopped: bool # Prevents the `after` callback of play_track
|
||||
allow_explicit: bool
|
||||
allow_menu: bool # Is /toggle menu command available
|
||||
allow_menu: bool # /toggle menu is only available if there's only one user in the voice chat.
|
||||
shuffle: bool
|
||||
repeat: bool
|
||||
Reference in New Issue
Block a user