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

@@ -144,7 +144,7 @@ class VoiceGuildsDatabase(BaseGuildsDatabase):
track = track.to_dict()
self.update(gid, {'current_track': track})
def get_current_player(self, gid: int) -> int | None:
def get_current_menu(self, gid: int) -> int | None:
"""Get current player.
Args:
@@ -153,4 +153,4 @@ class VoiceGuildsDatabase(BaseGuildsDatabase):
Returns: int | None: Player message id or None if not present.
"""
guild = self.get_guild(gid)
return guild['current_player']
return guild['current_menu']