aboutsummaryrefslogtreecommitdiff
path: root/discord
diff options
context:
space:
mode:
authorRapptz <[email protected]>2021-04-28 01:44:50 -0400
committerRapptz <[email protected]>2021-05-27 00:53:14 -0400
commit80fd222ca071dcca72d4c3455f68d575edb5f3c3 (patch)
treeec2b672436e5b6862364ec0e9d4ea2d16d484304 /discord
parentRename enums to use official API naming (diff)
downloaddiscord.py-80fd222ca071dcca72d4c3455f68d575edb5f3c3.tar.xz
discord.py-80fd222ca071dcca72d4c3455f68d575edb5f3c3.zip
Add aliases for button style colours
Diffstat (limited to 'discord')
-rw-r--r--discord/enums.py6
1 files changed, 6 insertions, 0 deletions
diff --git a/discord/enums.py b/discord/enums.py
index b7e4ee30..2ff028cb 100644
--- a/discord/enums.py
+++ b/discord/enums.py
@@ -468,6 +468,12 @@ class ButtonStyle(Enum):
danger = 4
link = 5
+ # Aliases
+ blurple = 1
+ grey = 2
+ green = 3
+ red = 4
+
def __int__(self):
return self.value