-
Notifications
You must be signed in to change notification settings - Fork 29
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
Update API events, structures, enums #169
base: dev
Are you sure you want to change the base?
Conversation
This commit updates gencodecs API events, structures, enums, etc.
Tested it and running this branch - works for me, and no observed issues yet. |
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.
Is this ready for review? |
Sadly not even close to, there are a lot of things missing |
Is this still being worked on? Please close it otherwise! @ThePedroo |
Not abandonned, just on hold till I have some more time, which is soon :) |
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.
@@ -34,6 +34,7 @@ HEADERS = $(API_DIR)/application.h \ | |||
$(API_DIR)/channel.h \ | |||
$(API_DIR)/custom.h \ | |||
$(API_DIR)/emoji.h \ | |||
$(API_DIR)/entitlements.h \ |
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.
Nit: use spaces to keep aligned with the rest
@@ -43,6 +44,7 @@ HEADERS = $(API_DIR)/application.h \ | |||
$(API_DIR)/message_components.h \ | |||
$(API_DIR)/oauth2.h \ | |||
$(API_DIR)/permissions.h \ | |||
$(API_DIR)/poll.h \ |
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.
ditto
poll.o \ | ||
stage_instance.o \ | ||
sticker.o \ |
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.
ditto
This commit adds support for message components v2, be aware by the time of this commit, it is still not available.
9c7b827
to
1e9e900
Compare
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
,include
andlib
folder, 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.