mirror of
https://github.com/discordjs/discord.js.git
synced 2026-03-09 16:13:31 +01:00
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:
@@ -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,
|
||||||
|
|||||||
Reference in New Issue
Block a user