mirror of
https://github.com/discordjs/discord.js.git
synced 2026-03-19 13:03:31 +01:00
types: fix ApplicationCommandPermissionsUpdate event typings (#8071)
This commit is contained in:
@@ -9,7 +9,7 @@ const Events = require('../../util/Events');
|
|||||||
* @property {Snowflake} id The id of the command or global entity that was updated
|
* @property {Snowflake} id The id of the command or global entity that was updated
|
||||||
* @property {Snowflake} guildId The id of the guild in which permissions were updated
|
* @property {Snowflake} guildId The id of the guild in which permissions were updated
|
||||||
* @property {Snowflake} applicationId The id of the application that owns the command or entity being updated
|
* @property {Snowflake} applicationId The id of the application that owns the command or entity being updated
|
||||||
* @property {ApplicationCommandPermissions} permissions The updated permissions
|
* @property {ApplicationCommandPermissions[]} permissions The updated permissions
|
||||||
*/
|
*/
|
||||||
|
|
||||||
class ApplicationCommandPermissionsUpdateAction extends Action {
|
class ApplicationCommandPermissionsUpdateAction extends Action {
|
||||||
|
|||||||
3
packages/discord.js/typings/index.d.ts
vendored
3
packages/discord.js/typings/index.d.ts
vendored
@@ -3706,7 +3706,7 @@ export interface ApplicationCommandPermissionsUpdateData {
|
|||||||
id: Snowflake;
|
id: Snowflake;
|
||||||
guildId: Snowflake;
|
guildId: Snowflake;
|
||||||
applicationId: Snowflake;
|
applicationId: Snowflake;
|
||||||
permissions: ApplicationCommandPermissions;
|
permissions: ApplicationCommandPermissions[];
|
||||||
}
|
}
|
||||||
|
|
||||||
export interface EditApplicationCommandPermissionsMixin {
|
export interface EditApplicationCommandPermissionsMixin {
|
||||||
@@ -4107,6 +4107,7 @@ export declare const Colors: {
|
|||||||
};
|
};
|
||||||
|
|
||||||
export declare const Events: {
|
export declare const Events: {
|
||||||
|
ApplicationCommandPermissionsUpdate: 'applicationCommandPermissionsUpdate';
|
||||||
ClientReady: 'ready';
|
ClientReady: 'ready';
|
||||||
GuildCreate: 'guildCreate';
|
GuildCreate: 'guildCreate';
|
||||||
GuildDelete: 'guildDelete';
|
GuildDelete: 'guildDelete';
|
||||||
|
|||||||
Reference in New Issue
Block a user