npm / discord-api-types
discord-api-types
What changed in discord-api-types 0.38, from its official release notes, upgrade guides and advisories. Sources checked 2026-10-28.
2 breaking5 new APIs and options3 fixes and other
See which of these apply to your code, ranked, in your agent:
npx @unstale/cli initdiscord-api-types 0.3810 changes
Breaking changes 2
The handler field was removed.
The options field was removed.
New APIs and options 5
Adds OAuth2 type support for iss, allowing developers to represent it in their code.
Application identity profiles were added.
Game mention support was added.
Added the PruneRequiresAdmin guild feature.
Added error codes 160009 and 160010 for forward message errors.
Fixes and other changes 3
AutoModeration custom_message can now be null.
The create DM channel result type is narrower.
Descriptions are now allowed for primary entry point commands.