diff --git a/cogs/disabled/test.py b/cogs/disabled/test.py index 628209f..494fa08 100644 --- a/cogs/disabled/test.py +++ b/cogs/disabled/test.py @@ -25,6 +25,5 @@ class Testing(commands.Cog, name='Testing'): await inter.response.send_message(result, ephemeral=True) - def setup(bot): # an extension must have a setup function bot.add_cog(Testing(bot)) # adding a cog diff --git a/lib/YandexPlayer.py b/lib/YandexPlayer.py index e1b1c6a..0b47b00 100644 --- a/lib/YandexPlayer.py +++ b/lib/YandexPlayer.py @@ -45,9 +45,7 @@ def search(_str: str, _type: str = 'all') -> dict: } } elif type_ == 'album': - artists = '' if best.artists: - artists = ', '.join(artist.name for artist in best.artists) for i in best.artists: artist_id = i.id artist_name = i.name