[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:
Michael H 2018-07-11 20:50:59 -04:00 committed by Kowlin
parent 35149f8837
commit 461f03aac0

View File

@ -152,6 +152,11 @@ class Context(commands.Context):
else:
return self.bot.color
@property
def embed_color(self):
# Rather than double awaiting.
return self.embed_colour
async def embed_requested(self):
"""
Simple helper to call bot.embed_requested