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

support type 10 number arguement for slash commands #351

Merged
merged 16 commits into from
Jul 30, 2021
Merged

Conversation

HopeBaron
Copy link
Member

@HopeBaron HopeBaron commented Jul 27, 2021

HopeBaron and others added 15 commits July 3, 2021 15:18
* add a cahe aware rest supplier/strategy

* abstract the new flow creation for storeAndEmit

* apply suggestions

* Reduce the number of iterations

rename storeAndEmit to storeOnEach

* update changelog
* changed the visibility for the name, descript.. and type field, changed the toRequest functions to single expression-styled returns

* remade .name and .description to public upon request, kept .type protected

* remade .type into read only (val)
* Add select menu json representation

* Add select menu builders

* add serialization tests for select menu interactions

* Add core implementation of select menus

* Update ButtonComponent docs

* Make SelectMenu min/max values a range
Fixes the self call in getGuildBanOrNull by delegating the call to the supplier instead
)

Makes the fields in the builder and request nullable where appropriate for updating a message
Gets the user data from the user field instead of the member field, upgrade the type to a full user.
@HopeBaron HopeBaron changed the base branch from 0.7.x to 0.8.x July 30, 2021 09:21
@HopeBaron HopeBaron merged commit 3dd19cc into 0.8.x Jul 30, 2021
@HopeBaron HopeBaron deleted the number-argument branch October 7, 2021 09:52
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants