diff --git a/src/util/Constants.js b/src/util/Constants.js index bfb55d8..db3a646 100644 --- a/src/util/Constants.js +++ b/src/util/Constants.js @@ -546,6 +546,10 @@ exports.PartialTypes = keyMirror(['USER', 'CHANNEL', 'GUILD_MEMBER', 'MESSAGE', * * APPLICATION_COMMAND_CREATE (deprecated) * * APPLICATION_COMMAND_DELETE (deprecated) * * APPLICATION_COMMAND_UPDATE (deprecated) + * * AUTO_MODERATION_ACTION_EXECUTION + * * AUTO_MODERATION_RULE_CREATE + * * AUTO_MODERATION_RULE_DELETE + * * AUTO_MODERATION_RULE_UPDATE * * GUILD_CREATE * * GUILD_DELETE * * GUILD_UPDATE @@ -607,6 +611,10 @@ exports.WSEvents = keyMirror([ 'APPLICATION_COMMAND_CREATE', 'APPLICATION_COMMAND_DELETE', 'APPLICATION_COMMAND_UPDATE', + 'AUTO_MODERATION_ACTION_EXECUTION', + 'AUTO_MODERATION_RULE_CREATE', + 'AUTO_MODERATION_RULE_DELETE', + 'AUTO_MODERATION_RULE_UPDATE', 'GUILD_CREATE', 'GUILD_DELETE', 'GUILD_UPDATE', diff --git a/typings/index.d.ts b/typings/index.d.ts index bbfbe17..7cca0f1 100644 --- a/typings/index.d.ts +++ b/typings/index.d.ts @@ -7318,6 +7318,10 @@ export type WSEventType = | 'APPLICATION_COMMAND_CREATE' | 'APPLICATION_COMMAND_DELETE' | 'APPLICATION_COMMAND_UPDATE' + | 'AUTO_MODERATION_ACTION_EXECUTION' + | 'AUTO_MODERATION_RULE_CREATE' + | 'AUTO_MODERATION_RULE_DELETE' + | 'AUTO_MODERATION_RULE_UPDATE' | 'GUILD_CREATE' | 'GUILD_DELETE' | 'GUILD_UPDATE'