mirror of
https://github.com/deadcxap/YandexMusicDiscordBot.git
synced 2026-01-10 12:41:44 +03:00
impr: Code organization and bug fixes.
This commit is contained in:
@@ -62,7 +62,7 @@ async def get_search_suggestions(ctx: discord.AutocompleteContext) -> list[str]:
|
||||
playlists_list = await client.users_playlists_list(client.me.account.uid)
|
||||
res = [playlist.title if playlist.title else 'Без названия' for playlist in playlists_list]
|
||||
|
||||
return res
|
||||
return res[:100]
|
||||
|
||||
class General(Cog):
|
||||
|
||||
|
||||
Reference in New Issue
Block a user