Browse Source

Add ButtonStyle.gray alias

pull/7069/merge
Nadir Chowdhury 4 years ago
committed by GitHub
parent
commit
f7b0ed7b12
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
  1. 1
      discord/enums.py
  2. 3
      docs/api.rst

1
discord/enums.py

@ -491,6 +491,7 @@ class ButtonStyle(Enum):
# Aliases
blurple = 1
grey = 2
gray = 2
green = 3
red = 4

3
docs/api.rst

@ -1429,6 +1429,9 @@ of :class:`enum.Enum`.
An alias for :attr:`primary`.
.. attribute:: grey
An alias for :attr:`secondary`.
.. attribute:: gray
An alias for :attr:`secondary`.
.. attribute:: green

Loading…
Cancel
Save