From dad775b494b2f5d4a500adc76e5116a7babc8d94 Mon Sep 17 00:00:00 2001 From: Michael H Date: Mon, 28 May 2018 01:23:03 -0400 Subject: [PATCH] [V3 Context] use bot's color if it has one (Ux Consistency with help formatter) (#1706) * use bot's color if it has one * add bot color support to context * alias color to colour too to match d.py consistency * Update context.py * Update context.py * black fix --- redbot/core/commands/context.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/redbot/core/commands/context.py b/redbot/core/commands/context.py index 5e84e2f0d..295f96c72 100644 --- a/redbot/core/commands/context.py +++ b/redbot/core/commands/context.py @@ -191,6 +191,8 @@ class Context(commands.Context): """ if await self.embed_requested(): - return await self.send(embed=discord.Embed(description=message)) + return await self.send( + embed=discord.Embed(description=message, color=(await self.embed_colour())) + ) else: return await self.send(message)