Skip to content

Update API events, structures, enums (new)#225

Open
ThePedroo wants to merge 19 commits into
devfrom
update/gencodecs-new
Open

Update API events, structures, enums (new)#225
ThePedroo wants to merge 19 commits into
devfrom
update/gencodecs-new

Conversation

@ThePedroo

Copy link
Copy Markdown
Collaborator

Notice

  • I understand the code that I have edited, and have the means
    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 and lib 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.

Closes #161, #176, #190

INFO: This is an updated version of #169 PR.

ThePedroo and others added 9 commits February 5, 2026 02:44
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.
@ThePedroo ThePedroo added the missing feature Missing Discord API feature label Feb 5, 2026
@ThePedroo ThePedroo requested a review from lcsmuller February 5, 2026 06:07
@ThePedroo ThePedroo force-pushed the update/gencodecs-new branch from 13c2abb to 774400b Compare March 23, 2026 23:38
@ThePedroo ThePedroo force-pushed the update/gencodecs-new branch from 774400b to 287c3ca Compare March 23, 2026 23:47
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

missing feature Missing Discord API feature

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants