Fix bug Genius
This commit is contained in:
parent
b70d5c5055
commit
775cd7df26
1 changed files with 2 additions and 1 deletions
|
@ -506,7 +506,8 @@ class Music(commands.Cog):
|
||||||
paroles = song_genius.lyrics
|
paroles = song_genius.lyrics
|
||||||
except:
|
except:
|
||||||
await ctx.message.add_reaction(emoji = '❌')
|
await ctx.message.add_reaction(emoji = '❌')
|
||||||
return await message.edit(content = f"Pas de résultats trouvés pour `{song}`.")
|
return await message.edit(content = f"Pas de résultats trouvés pour `{song}`.")
|
||||||
|
paroles.replace("EmbedShare URLCopyEmbedCopy", "") # Fix temporaire bug Genius
|
||||||
lignetotal = ""
|
lignetotal = ""
|
||||||
premierembed = True
|
premierembed = True
|
||||||
if len(paroles) > 7500:
|
if len(paroles) > 7500:
|
||||||
|
|
Reference in a new issue