mirror of
https://github.com/Cog-Creators/Red-DiscordBot.git
synced 2025-11-07 19:58:54 -05:00
[V3 Context] Aliasing Colour to color (#1916)
* [V3 Context] Aliasing Colour to color We should stay consistent here and keep the aliasing from upstream, even when we extend this. * fmt pass
This commit is contained in:
parent
35149f8837
commit
461f03aac0
@ -152,6 +152,11 @@ class Context(commands.Context):
|
|||||||
else:
|
else:
|
||||||
return self.bot.color
|
return self.bot.color
|
||||||
|
|
||||||
|
@property
|
||||||
|
def embed_color(self):
|
||||||
|
# Rather than double awaiting.
|
||||||
|
return self.embed_colour
|
||||||
|
|
||||||
async def embed_requested(self):
|
async def embed_requested(self):
|
||||||
"""
|
"""
|
||||||
Simple helper to call bot.embed_requested
|
Simple helper to call bot.embed_requested
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user