mirror of
https://github.com/Rapptz/discord.py.git
synced 2026-11-20 13:29:03 +00:00
Add target_user and target_type to Invite objects
This commit is contained in:
1 parent
f4165755a9
commit
67abfea61a
3 files changed
+38
-1
No files matched your search
@@ -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
|
||||
|
||||
Reference in new issue
Block a user