Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

types(ApplicationCommandOption): add ApplicationCommandBooleanOption #8434

Merged
merged 2 commits into from
Aug 10, 2022
Merged

types(ApplicationCommandOption): add ApplicationCommandBooleanOption #8434

merged 2 commits into from
Aug 10, 2022

Commits on Aug 4, 2022

  1. types(ApplicationCommandOption): add ApplicationCommandBooleanOption

    Add `ApplicationCommandOptionType.Boolean` to `CommandOptionChoiceResolvableType` union
    Add interface `ApplicationCommandBooleanOptionData`
    Add interface `ApplicationCommandBooleanOption`
    Add `ApplicationCommandBooleanOption` to `ApplicationCommandSubCommandData.options` union
    Add `ApplicationCommandBooleanOptionData` to `ApplicationCommandOptionData` union
    Add `ApplicationCommandBooleanOption` to `ApplicationCommandOption` union
    janparisek committed Aug 4, 2022
    Configuration menu
    Copy the full SHA
    7a4d648 View commit details
    Browse the repository at this point in the history
  2. types(ApplicationCommandOption): fix incorrect inheritance

    Make `ApplicationCommandBooleanOptionData` inherit from `BaseApplicationCommandOptionsData`
    Make `ApplicationCommandBooleanOption` inherit from `BaseApplicationCommandOptionsData`
    Remove `ApplicationCommandOptionType.Boolean` from `CommandOptionChoiceResolvableType` union
    
    Fixes Boolean option type appearing as a choice.
    janparisek committed Aug 4, 2022
    Configuration menu
    Copy the full SHA
    a89d3eb View commit details
    Browse the repository at this point in the history