ApplicationCommandType
EnumOn this page
discord.ApplicationCommandType lists the named constants for this enumeration. Prefer these names over hardcoded literals.
Values
discord.ApplicationCommandType.ChatInput1Chat Input. Use the symbolic name in bot code rather than the raw value.
discord.ApplicationCommandType.User2User. Use the symbolic name in bot code rather than the raw value.
discord.ApplicationCommandType.Message3Message. Use the symbolic name in bot code rather than the raw value.
discord.ApplicationCommandType.PrimaryEntryPoint4Primary Entry Point. Use the symbolic name in bot code rather than the raw value.
Usage
Read members as discord.ApplicationCommandType.Name. Do not hard-code numeric literals when a symbolic name exists.
Example
local discord = require("discord")
print(discord.ApplicationCommandType.ChatInput)