From 3b6c41eda17814aa0cd7caec5e04cbd1981ff5a7 Mon Sep 17 00:00:00 2001 From: Mylloon Date: Fri, 11 Dec 2020 12:20:00 +0100 Subject: [PATCH] ajout couleur citation pour rendre l'embed + beau --- main.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/main.py b/main.py index e168161..6145747 100644 --- a/main.py +++ b/main.py @@ -113,7 +113,7 @@ async def on_message(message): if int(link[32:-38]) == message.guild.id: msgID = await client.get_channel(int(link[51:-19])).fetch_message(int(link[70:])) if len(msgID.content) > 0: - embed = discord.Embed(description = msgID.content) + embed = discord.Embed(description = msgID.content, colour = 0x2f3136) else: return # si le message ne contient pas de mots (image? vidéo? intégration?) embed.add_field(name = "Auteur", value = msgID.author.mention, inline=True)