Browse Source

Change Colour.blurple to new one

This moves the old one to Colour.og_blurple.
pull/6913/head
Dorukyum 4 years ago
committed by GitHub
parent
commit
5ad88dec72
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
  1. 7
      discord/colour.py

7
discord/colour.py

@ -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``."""

Loading…
Cancel
Save