-
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.
Add missing Webhook and Interaction functionality (#507)
* No shards field on GatewayResponse * Fix authentication header requirements * inline shorthands in suppliers * reason null by default everywhere * Add routes for webhooks and followup messages * Add endpoints in WebhookService * use createGlobalMessageCommandApplicationCommand in Kord * add getFollowupMessage() to InteractionService, rename createPublicInteractionResponse() * use builder from InteractionService in ActionInteractionBehavior * use builder from InteractionService in FollowupMessageBehavior * use builder from InteractionService in InteractionResponseBehavior * use builder from InteractionService in PublicFollowupMessageBehavior * add getFollowupMessageOrNull() and getFollowupMessage() * getFollowupMessage() in EntitySupplier * move withStrategy() to interfaces * get, edit and delete functions for webhook messages * Restore explicit api after merge * formatting * Rename InteractionFollowup to FollowupMessage and better typing for editing followups
- Loading branch information
1 parent
38e4e44
commit f1aecb7
Showing
24 changed files
with
616 additions
and
214 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 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 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
Oops, something went wrong.