SKUType
EnumOn this page
discord.SKUType lists the named constants for this enumeration. Prefer these names over hardcoded literals.
Values
discord.SKUType.Durable2Durable. Use the symbolic name in bot code rather than the raw value.
discord.SKUType.Consumable3Consumable. Use the symbolic name in bot code rather than the raw value.
discord.SKUType.Subscription5Subscription. Use the symbolic name in bot code rather than the raw value.
discord.SKUType.SubscriptionGroup6Subscription Group. Use the symbolic name in bot code rather than the raw value.
Usage
Read members as discord.SKUType.Name. Do not hard-code numeric literals when a symbolic name exists.
Example
local discord = require("discord")
print(discord.SKUType.Durable)