class SharedChatInputCommandOptions

export declare class SharedChatInputCommandOptions

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

readonly
options : readonly ApplicationCommandOptionBase[]

The options within this command.

Adds attachment options.

Adds boolean options.

Adds channel options.

Adds integer options.

Adds mentionable options.

Adds number options.

Adds role options.

Adds string options.

Adds user options.

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);