docs: add missing ApplicationCommandPermissionsUpdateData (#11415)

* docs: add missing ApplicationCommandPermissionsUpdateData

* Update packages/discord.js/src/client/websocket/handlers/APPLICATION_COMMAND_PERMISSIONS_UPDATE.js

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>

---------

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
Co-authored-by: kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com>
This commit is contained in:
Almeida
2026-03-02 10:43:55 +00:00
committed by GitHub
parent fce498982a
commit f1949271a0

View File

@@ -3,6 +3,16 @@
const { Events } = require('../../../util/Events.js'); const { Events } = require('../../../util/Events.js');
module.exports = (client, { d: data }) => { module.exports = (client, { d: data }) => {
/**
* Represents the properties of an application command permissions update
*
* @typedef {Object} ApplicationCommandPermissionsUpdateData
* @property {ApplicationCommandPermissions[]} permissions The permissions for the command
* @property {Snowflake} id The id of the command
* @property {Snowflake} guildId The id of the guild
* @property {Snowflake} applicationId The id of the application
*/
/** /**
* Emitted whenever permissions for an application command in a guild were updated. * Emitted whenever permissions for an application command in a guild were updated.
* <warn>This includes permission updates for other applications in addition to the logged in client, * <warn>This includes permission updates for other applications in addition to the logged in client,