SlashCommandSubcommandBuilder
BuilderOn this page
SlashCommandSubcommandBuilder is a fluent payload builder. Chain setters, then pass the builder to send, reply, or command registration.
Constructor
SlashCommandSubcommandBuilder.new() The class table is callable, so SlashCommandSubcommandBuilder() is the same as .new.
No parameters.
local discord = require("discord")
local object = discord.SlashCommandSubcommandBuilder()Examples
local discord = require("discord")
local object = discord.SlashCommandSubcommandBuilder({})Related APIs
ActionRowBuilder · AttachmentBuilder · BaseSelectMenuBuilder · ButtonBuilder · ChannelSelectMenuBuilder · CheckboxBuilder · ComponentBuilder · ContainerBuilder
Version: discord 1.2.9 · runtime 1.0.0