discordjs / builders

A collection of builders that you can use when creating your bot.
Apache License 2.0
97 stars 37 forks source link

feat: autocomplete options #52

Closed suneettipirneni closed 2 years ago

suneettipirneni commented 2 years ago

Please describe the changes this PR makes and why it should be merged:

Closes #50

discord-api-types will need a new release in order for the return types to be typed.

Status and versioning classification:

codecov-commenter commented 2 years ago

Codecov Report

Merging #52 (063d35d) into main (65467ec) will not change coverage. The diff coverage is 100.00%.

Impacted file tree graph

@@            Coverage Diff            @@
##              main       #52   +/-   ##
=========================================
  Coverage   100.00%   100.00%           
=========================================
  Files           21        25    +4     
  Lines          264       274   +10     
  Branches        33        33           
=========================================
+ Hits           264       274   +10     
Impacted Files Coverage Δ
...s/slashCommands/mixins/CommandOptionWithChoices.ts 100.00% <ø> (ø)
...nteractions/slashCommands/mixins/CommandOptions.ts 100.00% <100.00%> (ø)
...hCommands/mixins/CommandOptionsWithAutocomplete.ts 100.00% <100.00%> (ø)
.../interactions/slashCommands/options/autoInteger.ts 100.00% <100.00%> (ø)
...c/interactions/slashCommands/options/autoNumber.ts 100.00% <100.00%> (ø)
...c/interactions/slashCommands/options/autoString.ts 100.00% <100.00%> (ø)

Continue to review full report at Codecov.

Legend - Click here to learn more Δ = absolute <relative> (impact), ø = not affected, ? = missing data Powered by Codecov. Last update 65467ec...063d35d. Read the comment docs.

suneettipirneni commented 2 years ago

Closing in favor of @Khasms upcoming PR