This commit is contained in:
bacon
2024-03-10 16:12:44 +03:00
parent 0c2fc80485
commit 221e97f47f
2 changed files with 0 additions and 3 deletions

View File

@@ -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

View File

@@ -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