Update API events, structures, enums (new)#225
Open
ThePedroo wants to merge 19 commits into
Open
Conversation
This commit updates gencodecs API events, structures, enums, etc.
This commit adds support for Discord polls, stickers and also updates the gencodecs for numerous other fields, also corrects "discord_get_original_interaction_response" response parsing.
This commit fixes the behavior of expecting a description while creation message application commands.
This commit updates the information for "thread_create" event gencodecs.
This commit adds the new "global_name" in "discord_user" structure which represents the name selected by the holder of the account that will globally identify that account.
…structure This commit fixes the structure used to pass information to Discod's bulk guild overwrite guild applications (https://discord.com/developers/docs/interactions/application-commands#bulk-overwrite-guild-application-commands) where before the fix it wouldn't take an array of application command like structure, but rather a single structure.
This commit adds support for "contexts" to application command structures, in structures like creating global commands and receiving information about triggered command.
This commit updates gencodecs structures for "application" and "application commands" to again have all latest fields available.
- Introduced `discord_dictionary_entry` structure for key-value pairs. - Added `discord_dictionary` list type for managing multiple entries. - Updated application command structures to use `discord_dictionary` for localization fields.
1 task
13c2abb to
774400b
Compare
…and interaction fields
…dd ban delete_message_seconds and validation
…pand guild member with banner, collectibles, flags
774400b to
287c3ca
Compare
This file contains hidden or 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
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.
Notice
to test it before making changes to Concord.
What?
This PR updates (all) codecs from gencodecs, updating Concord structures and ensuring that Concord users can benefit of the latest functions & fields from Discord.
Why?
This allows to people use newer functions, fields and events, that were not available previously (main/dev/etc branch), blocking people from creating new features that needs them.
How?
By updating
gencodecs,includeandlibfolder, in files where include data of events, functions and fields.Testing?
This is a draft PR, testing was not made yet.
Anything Else?
Already updated parts will be reviewed again.
Closes #161, #176, #190
INFO: This is an updated version of #169 PR.