fixed censorship

This commit is contained in:
Mylloon 2021-08-20 08:22:24 +02:00
parent 9b5bd90964
commit ccc738f901

View file

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