mirror of
https://github.com/Rapptz/discord.py.git
synced 2026-11-20 13:29:03 +00:00
Add support for one-time purchases
This commit is contained in:
1 parent
0ee1794c6d
commit
2892401992
5 files changed
+81
-1
No files matched your search
@@ -796,11 +796,20 @@ class SelectDefaultValueType(Enum):
|
||||
|
||||
|
||||
class SKUType(Enum):
|
||||
durable = 2
|
||||
consumable = 3
|
||||
subscription = 5
|
||||
subscription_group = 6
|
||||
|
||||
|
||||
class EntitlementType(Enum):
|
||||
purchase = 1
|
||||
premium_subscription = 2
|
||||
developer_gift = 3
|
||||
test_mode_purchase = 4
|
||||
free_purchase = 5
|
||||
user_gift = 6
|
||||
premium_purchase = 7
|
||||
application_subscription = 8
|
||||
|
||||
|
||||
|
||||
Reference in new issue
Block a user