class SharedChatInputCommandOptions

external
declare class SharedChatInputCommandOptions

This mixin holds symbols that can be shared in chat input command options.

protectedreadonlyexternal
data : SharedChatInputCommandOptionsData

readonlyexternal
options : readonly ApplicationCommandOptionBase[]

external
addAttachmentOptions() : this

Adds attachment options.

external
addBooleanOptions() : this

Adds boolean options.

external
addChannelOptions() : this

Adds channel options.

external
addIntegerOptions() : this

Adds integer options.

Adds mentionable options.

external
addNumberOptions() : this

Adds number options.

external
addRoleOptions() : this

Adds role options.

external
addStringOptions() : this

Adds string options.

external
addUserOptions() : this

Adds user options.

external
spliceOptions(
index: number
deleteCount: number
) : this

Removes, replaces, or inserts options for this command.

Examples:Remove the first option:
actionRow.spliceOptions(0, 1);
Remove the first n options:
const n = 4;
actionRow.spliceOptions(0, n);
Remove the last option:
actionRow.spliceOptions(-1, 1);