diff options
| author | Dorukyum <[email protected]> | 2021-05-15 09:13:12 +0300 |
|---|---|---|
| committer | GitHub <[email protected]> | 2021-05-15 02:13:12 -0400 |
| commit | 5ad88dec72b5bef063bc9a01646082b95ca53cf1 (patch) | |
| tree | f64eb4db418a62d182fb6c56c05dfde0ff01f1b6 | |
| parent | [tasks] Replace None check with MISSING check in task loop (diff) | |
| download | discord.py-5ad88dec72b5bef063bc9a01646082b95ca53cf1.tar.xz discord.py-5ad88dec72b5bef063bc9a01646082b95ca53cf1.zip | |
Change Colour.blurple to new one
This moves the old one to Colour.og_blurple.
| -rw-r--r-- | discord/colour.py | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/discord/colour.py b/discord/colour.py index 4e19f704..4efafcd0 100644 --- a/discord/colour.py +++ b/discord/colour.py @@ -270,11 +270,16 @@ class Colour: darker_gray = darker_grey @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``.""" 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 def greyple(cls: Type[CT]) -> CT: """A factory method that returns a :class:`Colour` with a value of ``0x99aab5``.""" return cls(0x99aab5) |