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