Change Colour.blurple to new one

This moves the old one to Colour.og_blurple.
This commit is contained in:
Dorukyum 2021-05-15 09:13:12 +03:00 committed by GitHub
parent 42a538edda
commit 5ad88dec72
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -270,10 +270,15 @@ 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``."""