aboutsummaryrefslogtreecommitdiff
path: root/discord/enums.py
diff options
context:
space:
mode:
Diffstat (limited to 'discord/enums.py')
-rw-r--r--discord/enums.py4
1 files changed, 4 insertions, 0 deletions
diff --git a/discord/enums.py b/discord/enums.py
index 262289a6..cc616104 100644
--- a/discord/enums.py
+++ b/discord/enums.py
@@ -418,6 +418,10 @@ class StickerType(Enum):
apng = 2
lottie = 3
+class InteractionType(Enum):
+ ping = 1
+ application_command = 2
+
def try_enum(cls, val):
"""A function that tries to turn the value into enum ``cls``.