feat: re-export AuditLogEvent enum (#7528)

This commit is contained in:
muchnameless
2022-02-23 08:36:11 +01:00
committed by GitHub
parent 46b53f4365
commit 6a2fa70b8e
3 changed files with 3 additions and 1 deletions

View File

@@ -164,6 +164,7 @@ exports.ActivityType = require('discord-api-types/v9').ActivityType;
exports.ApplicationCommandType = require('discord-api-types/v9').ApplicationCommandType;
exports.ApplicationCommandOptionType = require('discord-api-types/v9').ApplicationCommandOptionType;
exports.ApplicationCommandPermissionType = require('discord-api-types/v9').ApplicationCommandPermissionType;
exports.AuditLogEvent = require('discord-api-types/v9').AuditLogEvent;
exports.ButtonStyle = require('discord-api-types/v9').ButtonStyle;
exports.ChannelType = require('discord-api-types/v9').ChannelType;
exports.ComponentType = require('discord-api-types/v9').ComponentType;

View File

@@ -691,7 +691,7 @@ class Guild extends AnonymousGuild {
* @property {Snowflake|GuildAuditLogsEntry} [before] Only return entries before this entry
* @property {number} [limit] The number of entries to return
* @property {UserResolvable} [user] Only return entries for actions made by this user
* @property {AuditLogAction|number} [type] Only return entries for this action type
* @property {?AuditLogEvent} [type] Only return entries for this action type
*/
/**

View File

@@ -5111,6 +5111,7 @@ export {
ApplicationCommandType,
ApplicationCommandOptionType,
ApplicationCommandPermissionType,
AuditLogEvent,
ButtonStyle,
ChannelType,
ComponentType,