From ccc738f9016ea3e1da7a85bba9faaffc010e4cee Mon Sep 17 00:00:00 2001 From: Mylloon Date: Fri, 20 Aug 2021 08:22:24 +0200 Subject: [PATCH] fixed censorship --- src/cogs/music.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/cogs/music.py b/src/cogs/music.py index e7e559a..26f79fb 100644 --- a/src/cogs/music.py +++ b/src/cogs/music.py @@ -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)