-
Notifications
You must be signed in to change notification settings - Fork 82
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Initial modals implementation You can already receive modals via the gateway and send modals via REST * Change the "DiscordComponent" model to multiple classes due to buttons and text inputs sharing the same field name * Canonical order * Use two ***DiscordComponents classes for everything * Rename the classes because it looks better this way * Revert core changes * Implement text input component classes in the core module * Fix TextInput component type deserialization * improve the interaction tree * More changes to the tree * remove unresolved references * add core events * Apply suggestions from code review Co-authored-by: Lukellmann <[email protected]> * change compontents top level to ActionRowBuilder Co-authored-by: Lukellmann <[email protected]> * refactor files * refactor interaction files * refactor response files * refactor followup messages * add TextInputComponent list retrival property * fix withStrategy return type * Apply suggestions from code review Co-authored-by: Lukellmann <[email protected]> * rename discord modal component to DiscordTextInputComponent * fix interaction response type * Forms support adjustments (#534) * return types * sealed InteractionResponseBehavior * ClosedRange<Int> instead of IntRange * rename file * GuildAutoCompleteInteraction is GuildInteraction (#535) * required is true by default for text inputs (#537) * rewrite a safer OptionValue implementation * Apply code review suggestions * Yeet out IntOptionValue * Fix interactions for forms feature (#538) * move MessageInteraction into Message * interactions * clarify why ComponentInteractionBehavior is no ModalParentInteractionBehavior * typo * rename ApplicationCommandInteractionInteractionCreateEvent to ApplicationCommandInteractionCreateEvent * move ResolvedObjects * attachments in InteractionCommand * fix InteractionCommand.filterOptions() * Entity in mentionables again * move duplicate code to InteractionCommand * ActionRowComponent docs * rename acknowledge * maps for components * cleanup and consider feedback in codereview * reintroduce CommandArgument convience methods Co-authored-by: MrPowerGamerBR <[email protected]> Co-authored-by: Lukellmann <[email protected]>
- Loading branch information
1 parent
d8960aa
commit b4d77e0
Showing
75 changed files
with
2,287 additions
and
1,657 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.