mirror of
https://github.com/Rapptz/discord.py.git
synced 2025-07-07 02:21:54 +00:00
Change Colour.blurple to new one
This moves the old one to Colour.og_blurple.
This commit is contained in:
parent
42a538edda
commit
5ad88dec72
@ -270,10 +270,15 @@ class Colour:
|
|||||||
darker_gray = darker_grey
|
darker_gray = darker_grey
|
||||||
|
|
||||||
@classmethod
|
@classmethod
|
||||||
def blurple(cls: Type[CT]) -> CT:
|
def og_blurple(cls: Type[CT]) -> CT:
|
||||||
"""A factory method that returns a :class:`Colour` with a value of ``0x7289da``."""
|
"""A factory method that returns a :class:`Colour` with a value of ``0x7289da``."""
|
||||||
return cls(0x7289da)
|
return cls(0x7289da)
|
||||||
|
|
||||||
|
@classmethod
|
||||||
|
def blurple(cls: Type[CT]) -> CT:
|
||||||
|
"""A factory method that returns a :class:`Colour` with a value of ``0x5865F2``."""
|
||||||
|
return cls(0x5865F2)
|
||||||
|
|
||||||
@classmethod
|
@classmethod
|
||||||
def greyple(cls: Type[CT]) -> CT:
|
def greyple(cls: Type[CT]) -> CT:
|
||||||
"""A factory method that returns a :class:`Colour` with a value of ``0x99aab5``."""
|
"""A factory method that returns a :class:`Colour` with a value of ``0x99aab5``."""
|
||||||
|
Loading…
x
Reference in New Issue
Block a user