cleanup
This commit is contained in:
@@ -25,6 +25,5 @@ class Testing(commands.Cog, name='Testing'):
|
|||||||
await inter.response.send_message(result, ephemeral=True)
|
await inter.response.send_message(result, ephemeral=True)
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
def setup(bot): # an extension must have a setup function
|
def setup(bot): # an extension must have a setup function
|
||||||
bot.add_cog(Testing(bot)) # adding a cog
|
bot.add_cog(Testing(bot)) # adding a cog
|
||||||
|
|||||||
@@ -45,9 +45,7 @@ def search(_str: str, _type: str = 'all') -> dict:
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
elif type_ == 'album':
|
elif type_ == 'album':
|
||||||
artists = ''
|
|
||||||
if best.artists:
|
if best.artists:
|
||||||
artists = ', '.join(artist.name for artist in best.artists)
|
|
||||||
for i in best.artists:
|
for i in best.artists:
|
||||||
artist_id = i.id
|
artist_id = i.id
|
||||||
artist_name = i.name
|
artist_name = i.name
|
||||||
|
|||||||
Reference in New Issue
Block a user