Change Colour.blurple to new one

This moves the old one to Colour.og_blurple.
This commit is contained in:
Dorukyum
2021-05-15 02:13:12 -04:00
committed by GitHub
parent 42a538edda
commit 5ad88dec72
+6 -1
View File
@@ -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``."""