fixed censorship
This commit is contained in:
parent
9b5bd90964
commit
ccc738f901
1 changed files with 2 additions and 1 deletions
|
@ -962,6 +962,7 @@ class Music(commands.Cog, wavelink.WavelinkMixin):
|
|||
await addReaction(ctx.message, 2)
|
||||
return await message.edit(content = f"Pas de résultats trouvés pour `{song}`.")
|
||||
paroles = re.sub(r"3?EmbedShare URLCopyEmbedCopy", "", paroles) # Fix temporaire bug Genius
|
||||
paroles = re.sub(r"\*\*\*\**", "\*\*\*", paroles) # Fix des *** dans les chansons Genius
|
||||
lignetotal = ""
|
||||
premierembed = True
|
||||
if len(paroles) > 7500:
|
||||
|
@ -987,7 +988,7 @@ class Music(commands.Cog, wavelink.WavelinkMixin):
|
|||
embed = discord.Embed(description = lignetotal, color = couleur_embed)
|
||||
await ctx.send(embed = embed)
|
||||
lignetotal = f"{ligneFormatage(ligne)}"
|
||||
|
||||
|
||||
temps_requete = int(round(nowCustom() * 1000)) - temps_requete
|
||||
footer_embed = f"Pour {userOrNick(ctx.author)} par Genius en {round(temps_requete / 1000, 2)} s."
|
||||
await addReaction(ctx.message, 0)
|
||||
|
|
Reference in a new issue