mirror of
https://github.com/deadcxap/YandexMusicDiscordBot.git
synced 2026-01-11 20:31:40 +03:00
feat: Add "My Vibe" button to menu and enhance interactions.
This commit is contained in:
@@ -106,7 +106,8 @@ class BaseGuildsDatabase:
|
||||
shuffle=False,
|
||||
repeat=False,
|
||||
votes={},
|
||||
vibing=False
|
||||
vibing=False,
|
||||
current_viber_id=None
|
||||
))
|
||||
|
||||
def update(self, gid: int, data: Guild) -> None:
|
||||
@@ -152,7 +153,8 @@ class BaseGuildsDatabase:
|
||||
shuffle=False,
|
||||
repeat=False,
|
||||
votes={},
|
||||
vibing=False
|
||||
vibing=False,
|
||||
current_viber_id=None
|
||||
)
|
||||
for field, default_value in fields.items():
|
||||
if field not in existing_fields:
|
||||
|
||||
@@ -24,6 +24,7 @@ class Guild(TypedDict, total=False):
|
||||
repeat: bool
|
||||
votes: dict[str, MessageVotes]
|
||||
vibing: bool
|
||||
current_viber_id: int | None
|
||||
|
||||
class ExplicitGuild(TypedDict):
|
||||
_id: int
|
||||
@@ -42,4 +43,5 @@ class ExplicitGuild(TypedDict):
|
||||
shuffle: bool
|
||||
repeat: bool
|
||||
votes: dict[str, MessageVotes]
|
||||
vibing: bool
|
||||
vibing: bool
|
||||
current_viber_id: int | None
|
||||
Reference in New Issue
Block a user