Skip to content

Commit

Permalink
feat: re-export AuditLogEvent enum (#7528)
Browse files Browse the repository at this point in the history
  • Loading branch information
muchnameless committed Feb 23, 2022
1 parent 46b53f4 commit 6a2fa70
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 1 deletion.
1 change: 1 addition & 0 deletions packages/discord.js/src/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down
2 changes: 1 addition & 1 deletion packages/discord.js/src/structures/Guild.js
Original file line number Diff line number Diff line change
Expand Up @@ -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
*/

/**
Expand Down
1 change: 1 addition & 0 deletions packages/discord.js/typings/index.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5111,6 +5111,7 @@ export {
ApplicationCommandType,
ApplicationCommandOptionType,
ApplicationCommandPermissionType,
AuditLogEvent,
ButtonStyle,
ChannelType,
ComponentType,
Expand Down

0 comments on commit 6a2fa70

Please sign in to comment.