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

GuildAutoCompleteInteraction is GuildInteraction #535

Merged
merged 1 commit into from
Feb 12, 2022

Conversation

lukellmann
Copy link
Member

No description provided.

@HopeBaron HopeBaron merged commit 8ae546f into kordlib:feature/forms Feb 12, 2022
@lukellmann lukellmann deleted the feature/forms branch February 13, 2022 01:09
HopeBaron added a commit that referenced this pull request Feb 20, 2022
* 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]>
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.

2 participants