declare class SharedChatInputCommandOptions
This mixin holds symbols that can be shared in chat input command options.
protectedreadonlyexternalSharedChatInputCommandOptionsData data :
readonlyexternalreadonly ApplicationCommandOptionBase[] options :
external addAttachmentOptions...options: RestOrArray<ChatInputCommandAttachmentOption | ((builder: ChatInputCommandAttachmentOption) => ChatInputCommandAttachmentOption)>) : this (
...options: RestOrArray<ChatInputCommandAttachmentOption | ((builder: ChatInputCommandAttachmentOption) => ChatInputCommandAttachmentOption)>
Adds attachment options.
external addBooleanOptions...options: RestOrArray<ChatInputCommandBooleanOption | ((builder: ChatInputCommandBooleanOption) => ChatInputCommandBooleanOption)>) : this (
...options: RestOrArray<ChatInputCommandBooleanOption | ((builder: ChatInputCommandBooleanOption) => ChatInputCommandBooleanOption)>
Adds boolean options.
external addChannelOptions...options: RestOrArray<ChatInputCommandChannelOption | ((builder: ChatInputCommandChannelOption) => ChatInputCommandChannelOption)>) : this (
...options: RestOrArray<ChatInputCommandChannelOption | ((builder: ChatInputCommandChannelOption) => ChatInputCommandChannelOption)>
Adds channel options.
external addIntegerOptions...options: RestOrArray<ChatInputCommandIntegerOption | ((builder: ChatInputCommandIntegerOption) => ChatInputCommandIntegerOption)>) : this (
...options: RestOrArray<ChatInputCommandIntegerOption | ((builder: ChatInputCommandIntegerOption) => ChatInputCommandIntegerOption)>
Adds integer options.
external addMentionableOptions...options: RestOrArray<ChatInputCommandMentionableOption | ((builder: ChatInputCommandMentionableOption) => ChatInputCommandMentionableOption)>) : this (
...options: RestOrArray<ChatInputCommandMentionableOption | ((builder: ChatInputCommandMentionableOption) => ChatInputCommandMentionableOption)>
Adds mentionable options.
external addNumberOptions...options: RestOrArray<ChatInputCommandNumberOption | ((builder: ChatInputCommandNumberOption) => ChatInputCommandNumberOption)>) : this (
...options: RestOrArray<ChatInputCommandNumberOption | ((builder: ChatInputCommandNumberOption) => ChatInputCommandNumberOption)>
Adds number options.
external addRoleOptions...options: RestOrArray<ChatInputCommandRoleOption | ((builder: ChatInputCommandRoleOption) => ChatInputCommandRoleOption)>) : this (
...options: RestOrArray<ChatInputCommandRoleOption | ((builder: ChatInputCommandRoleOption) => ChatInputCommandRoleOption)>
Adds role options.
external addStringOptions...options: RestOrArray<ChatInputCommandStringOption | ((builder: ChatInputCommandStringOption) => ChatInputCommandStringOption)>) : this (
...options: RestOrArray<ChatInputCommandStringOption | ((builder: ChatInputCommandStringOption) => ChatInputCommandStringOption)>
Adds string options.
external addUserOptions...options: RestOrArray<ChatInputCommandUserOption | ((builder: ChatInputCommandUserOption) => ChatInputCommandUserOption)>) : this (
...options: RestOrArray<ChatInputCommandUserOption | ((builder: ChatInputCommandUserOption) => ChatInputCommandUserOption)>
Adds user options.