Update API events, structures, enums#169
Closed
ThePedroo wants to merge 8 commits into
Closed
Conversation
Contributor
|
Tested it and running this branch - works for me, and no observed issues yet. |
Collaborator
|
Is this ready for review? |
Collaborator
Author
|
Sadly not even close to, there are a lot of things missing |
Collaborator
|
Is this still being worked on? Please close it otherwise! @ThePedroo |
Collaborator
Author
|
Not abandonned, just on hold till I have some more time, which is soon :) |
lcsmuller
approved these changes
Feb 25, 2025
| $(API_DIR)/channel.h \ | ||
| $(API_DIR)/custom.h \ | ||
| $(API_DIR)/emoji.h \ | ||
| $(API_DIR)/entitlements.h \ |
Collaborator
There was a problem hiding this comment.
Nit: use spaces to keep aligned with the rest
| $(API_DIR)/message_components.h \ | ||
| $(API_DIR)/oauth2.h \ | ||
| $(API_DIR)/permissions.h \ | ||
| $(API_DIR)/poll.h \ |
| poll.o \ | ||
| stage_instance.o \ | ||
| sticker.o \ |
9c7b827 to
1e9e900
Compare
1 task
1e9e900 to
78611a8
Compare
78611a8 to
64a336c
Compare
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.
64a336c to
b22bffc
Compare
1 task
Collaborator
Author
|
Superseded by #225; |
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