From b4c2d9ffa1a72008bce856d34bd5e466bee8a91d Mon Sep 17 00:00:00 2001 From: Red-GitHubBot <88117545+Red-GitHubBot@users.noreply.github.com> Date: Wed, 19 Apr 2023 23:56:11 +0200 Subject: [PATCH] [3.4] Use bot embed colour in [p]dm command (#5868) (#6054) Co-authored-by: Kreusada Lavranocoyaskalas <67752638+Kreusada@users.noreply.github.com> --- redbot/core/core_commands.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/redbot/core/core_commands.py b/redbot/core/core_commands.py index 4420ad0f0..7293599ff 100644 --- a/redbot/core/core_commands.py +++ b/redbot/core/core_commands.py @@ -3498,7 +3498,7 @@ class Core(commands.commands._RuleDropper, commands.Cog, CoreLogic): description = _("Owner of {}").format(ctx.bot.user) content = _("You can reply to this message with {}contact").format(prefix) if await ctx.embed_requested(): - e = discord.Embed(colour=discord.Colour.red(), description=message) + e = discord.Embed(colour=await ctx.embed_colour(), description=message) e.set_footer(text=content) if ctx.bot.user.avatar_url: