-
Notifications
You must be signed in to change notification settings - Fork 83
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
0.7.0-RC2 #260
Conversation
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
Allow null for channelId in UpdateVoiceState
Fix nullability in builders
* Add missing template endpoints * Document stuff Co-authored-by: HopeBaron <[email protected]>
* Add missing template endpoints * Document stuff * Add template core representation
* Allow nullable url in embed provider #149 * Add reference to the issue causing the change
* Add welcome screen * Use Snowflake instead of String * Add cache and core representation * Add functions related to welcome screens and move them to partial guilds * Add an exception for welcome screens * Add welcome a orNull variant for welcomeScreens * expose the list of channels * Add mutable welcome screen builder * Fix rest supplier function call Co-authored-by: HopeBaron <[email protected]>
* Add interaction models * Add interaction routes * Add interactions rest service * Move AllowedMentions to common * Add serialization strategy for interaction type * Add interaction create event * Add interactions to RestClient * Add interactions requests and builders * Fix errors due to rename * introduce a KordEntity type Since interactions don't need a kord instance to exist. * Fix incorrect type representation * Add slash commands core representation * Add missing interaction requests and fix route returns * remove redundant applicationId * Move application command data to matching file name * Fix undocumented api behaviors * Add missing applicationId and remove redundant properties * Fix rest endpoints and builders * Add interactions core entities and behaviors * Remove pongs from interactions They are not allowed through this endpoint * Add wrapping class for parameters * Allow no-parameter commands in builders * Add application command gateway events Due to the lack of information regarding the global commands discord/discord-api-docs#2367 I've considered providing a guild application. * Add convenient builders and @KordPreview for slash commands * [WIP] - Options core representation [skip ci] * Simplyify filterInstanceOfList * WIP: deserialize incoming interactions * WIP - Add core representation for Groups, Commands, and Subcommands * Document those interactions 🎉 * Assume the interaction's parameters are major * Document NotSerializable serializer * Restore CacheMissRegression * Apply contracts and add docs to SlashCommands * Add a convenient method to transform value into Snowflake * Replace ExperimentalContracts with OptIn * Improve docs * Fix more typos [skip ci] * Document properties of Command and it's children * Add permissions to the interaction * Include a SlashCommands reference inside Kord and Guilds Co-authored-by: HopeBaron <[email protected]> Co-authored-by: BartArys <[email protected]>
* Don't infer version from CI env * Add sonatype publishing
* Don't infer version from CI env * Add sonatype publishing Co-authored-by: Hope <[email protected]>
* Fix acknowledgement response functions * Fix InteractionResponseBehavior#edit * Remove Base Interaction class Co-authored-by: HopeBaron <[email protected]>
* Add support for slash commands option errors * nested errors has no definite structure
* Add support for slash commands option errors * nested errors has no definite structure * Remove function parameter for choices
* Proper to string conversion * Provide meaningful error for snowflakes
* Proper to string conversion * Provide meaningful error for snowflakes * Make content optional in responses
* Properly (de)serialize DiscordActivityPartySize * Do not deserialize as Iterable
* Update readme and changelog * Fix modules readmes * Update changelog * Update FAQ * remove buffer function call * Update readmes with snapshots * reference snapshot in dependency block * replace snapshots names
* Remove unused class * Add message flags
* Remove floating doc * Set proper type for interaction channel * Don't assign calculated properties * Fix compiler warnings * Fix serializing unknown auditlog keys * Fix more compiler warnings * Restructure ApplicationCommands - Merge Guild and Global application commands and their related builders where possible. - Introduce a REST test to check basic deser of application commands
* Add ResolvedChannel adds support to resolved channels by application commands * Provide a default strategy * Add a meaningful toString * Add proper spacing into toString Co-authored-by: Bart Arys <[email protected]> Co-authored-by: Bart Arys <[email protected]>
* Add webhook getters for guilds * Add docs for webhook getters * Move webhooks getters to Kord
* Deploy through releases * Generate docs on releases only * add control flow flags * top level job checks * replace forward slashs with dashs for snapshots [publish skip]
* Handle unknown channel types * Fix when check * Update changelog * Proper spacing
* inline bulk commands create method * Add contracts to slash command create functions
[ci skip]
* delete/edit acknowledgements
* Add failIfNotExists flag * Add message reference core support * Add failIfNotExist flag * update change log
Channels with an unknown type won't be considered guild channels by our type system. Not returning them even though they technically are part of the guild is a quick and dirty fix until we consider a better approach.
* acknowledgement message flags * don't forget return types * allow modifying flags in interaction responses * add a overloaded acknowledgement * update docs * overload InteractionBehavior#acknowledge to accept list of flags * update InteractionBehavior#respond docs and params * introduce public and ephemeral responses * remove unresolved classes * inline InteractionResponseBehaviors edit functions * Optionalize builder in ephemeral responds * introduce PublicFollowupMessage and EphemeralFollowupMessage * restructure interaction behaviors/builders/entities * Fix follow up and allowedMentions builders * Ephemeral defer + Followup returns an ephemeral followup * Fix typing and support multipart public response creation * Rewrite builders * rewrite behaviors * wait flag is always true for followups * Add channel behavior * Document public/ephemeral followup message and interaction responses * Apply suggestions Co-authored-by: Bart Arys <[email protected]> * Fix imports * implement Strategizable interface * apply suggestions Co-authored-by: Bart Arys <[email protected]>
* implement get application by id endpoint * Add KordPreview annotations * rename Kord#getApplicationCommand to getGlobalApplicationCommand
* Use official kotlin style [publish skip] Co-authored-by: Michael Rittmeister <[email protected]>
* Add New webhook endpoints (discord/discord-api-docs#2243) Relates to #121 * Make EditWebhookMessageBuilder.embeds a list of builders * Remove webhookId from behavior * Remove inapropriate docs * Formatting * Fix some formatting * Fix some more formatting * Fix style issue in Route.kt * Add test
Co-authored-by: Michael Rittmeister <[email protected]>
* Add webhook execution multiple file support * Add interaction modify multiple file support * Webhook patch multipart support * allow multipart public follow-up message edits * Fix compilation errors * format files
* Implement slash command permissions * Undo some formatting that should now have happened * Undo some more formatting * Implement some requested changes * Add core representation * Remove duplicated method * Change name * Implement requested changes - Fix compilation error * More requested changes * Add Test
* Add allowed mentions to webhook execution builder * unify allowed mentions behavior * remove nullable allowed mentions in webhook execute request
* Fix All Permission to include UseSlashCommands * return values as a set * Add values field in both Permissions and Permission * Exclude All from the set
* update changelog * api dump [ci skip]
Is this really happening? |
As far as I can tell |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
0.7.0-RC2
Additions
Kord#getInvite
. Add Kord#getInvite #143Kord
functions to get webhooks. Add webhook getters for guilds #232LiveEntity
. feat: Extension methods for LiveEntity class #177USE_SLASH_COMMANDS
permission. Add USE_SLASH_COMMANDS permission #208Permission#values
andPermissions#values
. Add a values field to Permssions #255Message#messageReference
. Message reference core support #245Fixes
GuildBehavior#getWidgetOrNull
Add template core representation #138DiscordErrorResponse
inability to consume full input Add support for slash commands option errors #162MessageCreateEvent#withStrategy
returningStrategizable
. Fix withStrategy return type #233DiscordActivityPartySize
. Fix some serializer issues #168Attachment#isImage
check. Fix isImage check #172rpc_origins
being nullable instead of optional. Make rpc_origins optional #173LiveMessage
not being shut down on bulk delete. Shut down live message on bulk delete #174Message#authorAsMember
throwing if guild was not found. Do not throw when getting author member #178mute
anddeaf
inVoiceStateData
. Fix deaf and mute flags #188preview_asset
not being optional. Fix preview_asset field #206.Changes
Dependencies