Type Alias CommandData<Type>

CommandData: Type extends typeof ChatInputPlain
    ? SlashCommandOptionsOnlyBuilder
    : Type extends typeof ChatInput
    | typeof PrimaryEntryPoint
        ? SlashCommandSubcommandsOnlyBuilder
        : Type extends typeof UserContextMenu
        | typeof MessageContextMenu
            ? ContextMenuCommandBuilder
            : Type extends typeof Button
                ? ButtonBuilder
                : Type extends typeof StringSelect
                    ? StringSelectMenuBuilder
                    : Type extends typeof UserSelect
                        ? UserSelectMenuBuilder
                        : Type extends typeof RoleSelect
                            ? RoleSelectMenuBuilder
                            : Type extends typeof MentionableSelect
                                ? MentionableSelectMenuBuilder
                                : Type extends typeof ChannelSelect
                                    ? ChannelSelectMenuBuilder
                                    : Type extends typeof ModalSubmit
                                        ? ModalBuilder
                                        : (...) extends (...) ? (...) : (...)

Type Parameters