-
Notifications
You must be signed in to change notification settings - Fork 82
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
Forms support #531
Merged
Merged
Forms support #531
Changes from 1 commit
Commits
Show all changes
33 commits
Select commit
Hold shift + click to select a range
4016de0
Initial modals implementation
MrPowerGamerBR 08a7cac
Change the "DiscordComponent" model to multiple classes due to button…
MrPowerGamerBR 2b1f43a
Canonical order
MrPowerGamerBR 89e1e30
Use two ***DiscordComponents classes for everything
MrPowerGamerBR 7c39464
Rename the classes because it looks better this way
MrPowerGamerBR 3856eee
Revert core changes
MrPowerGamerBR 8d03e60
Implement text input component classes in the core module
MrPowerGamerBR 8223e43
Fix TextInput component type deserialization
MrPowerGamerBR 50a837e
improve the interaction tree
HopeBaron ec873d5
More changes to the tree
HopeBaron 9eccb31
remove unresolved references
HopeBaron 769c8d6
add core events
HopeBaron 660f477
Apply suggestions from code review
HopeBaron eadce4d
change compontents top level to ActionRowBuilder
HopeBaron fa8a415
refactor files
HopeBaron a5a8272
refactor interaction files
HopeBaron f810972
refactor response files
HopeBaron 992fac9
refactor followup messages
HopeBaron 4b96ef5
add TextInputComponent list retrival property
HopeBaron edd6ff0
fix withStrategy return type
HopeBaron 5e60f60
Apply suggestions from code review
HopeBaron 81eab28
rename discord modal component to DiscordTextInputComponent
HopeBaron afab86b
fix interaction response type
HopeBaron 8f705e7
Forms support adjustments (#534)
lukellmann 8ae546f
GuildAutoCompleteInteraction is GuildInteraction (#535)
lukellmann 5d9be2c
required is true by default for text inputs (#537)
lukellmann 39d7608
Merge branch '0.8.x' into feature/forms
HopeBaron 71159e9
rewrite a safer OptionValue implementation
HopeBaron a63e10f
Apply code review suggestions
HopeBaron 0fb59bc
Yeet out IntOptionValue
HopeBaron 9838aef
Fix interactions for forms feature (#538)
lukellmann a5bb146
cleanup and consider feedback in codereview
HopeBaron 5f13f84
reintroduce CommandArgument convience methods
HopeBaron File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
2 changes: 1 addition & 1 deletion
2
core/src/main/kotlin/behavior/interaction/response/EphemeralInteractionResponseBehavior.kt
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,7 @@ | ||
package dev.kord.core.behavior.interaction.response | ||
|
||
/** | ||
* The behavior of an ephemeral [Discord ActionInteraction Response](https://discord.com/developers/docs/interactions/slash-commands#interaction-response) | ||
* The behavior of an ephemeral Discord Interaction Response | ||
* This response is visible to *only* to the user who made the interaction. | ||
*/ | ||
public sealed interface EphemeralInteractionResponseBehavior : InteractionResponseBehavior |
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
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
these two are used in tests