diff options
| author | sudosnok <[email protected]> | 2021-04-22 04:30:35 +0100 |
|---|---|---|
| committer | GitHub <[email protected]> | 2021-04-21 23:30:35 -0400 |
| commit | 67abfea61a0f5de45ef3d76975bf702e4b016b82 (patch) | |
| tree | 6dcb958138f854f45bc1bf710482bb59d109afcc /discord/enums.py | |
| parent | Rename lingering _url Asset properties (diff) | |
| download | discord.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.py | 6 |
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 |