aboutsummaryrefslogtreecommitdiff
path: root/discord/enums.py
diff options
context:
space:
mode:
authorsudosnok <[email protected]>2021-04-22 04:30:35 +0100
committerGitHub <[email protected]>2021-04-21 23:30:35 -0400
commit67abfea61a0f5de45ef3d76975bf702e4b016b82 (patch)
tree6dcb958138f854f45bc1bf710482bb59d109afcc /discord/enums.py
parentRename lingering _url Asset properties (diff)
downloaddiscord.py-67abfea61a0f5de45ef3d76975bf702e4b016b82.tar.xz
discord.py-67abfea61a0f5de45ef3d76975bf702e4b016b82.zip
Add target_user and target_type to Invite objects
Diffstat (limited to 'discord/enums.py')
-rw-r--r--discord/enums.py6
1 files changed, 6 insertions, 0 deletions
diff --git a/discord/enums.py b/discord/enums.py
index bf1a3115..0d7305ba 100644
--- a/discord/enums.py
+++ b/discord/enums.py
@@ -46,6 +46,7 @@ __all__ = (
'ExpireBehaviour',
'ExpireBehavior',
'StickerType',
+ 'InviteTarget',
'VideoQualityMode',
)
@@ -426,6 +427,11 @@ class StickerType(Enum):
apng = 2
lottie = 3
+class InviteTarget(Enum):
+ unknown = 0
+ stream = 1
+ embedded_application = 2
+
class InteractionType(Enum):
ping = 1
application_command = 2