feat: Add station search for /voice vibe.

This commit is contained in:
Lemon4ksan
2025-02-13 17:30:17 +03:00
parent c0bb10cbf8
commit 8a3f06399d
5 changed files with 104 additions and 28 deletions

View File

@@ -231,7 +231,7 @@ class VoiceExtension:
async def update_vibe(
self,
ctx: ApplicationContext | Interaction,
type: Literal['track', 'album', 'artist', 'playlist', 'user'],
type: str,
id: str | int,
*,
update_settings: bool = False
@@ -241,8 +241,8 @@ class VoiceExtension:
Args:
ctx (ApplicationContext | Interaction): Context.
type (Literal['track', 'album', 'artist', 'playlist', 'user']): Type of the item.
id (str | int): ID of the YandexMusic item.
type (str): Type of the item.
id (str | int): ID of the item.
update_settings (bool, optional): Update vibe settings by sending feedack usind data from database. Defaults to False.
Returns: