Discord.js Audit Log List

This is a list of all of the items you can use for the audit log. You can also find this here.

  • guildMemberNicknameUpdate
  • guildMemberRemove
  • guildBanAdd
  • guildBanRemove
  • warn
  • roleCreate
  • roleUpdate
  • roleDelete
  • channelCreate
  • channelPinsUpdate
  • channelTypeUpdated
  • channelTopicUpdated
  • channelNSFWUpdated
  • channelSlowModeUpdated
  • channelBitRateUpdated
  • channelUserLimitUpdated
  • channelPermissionsSync
  • channelPermissionsOverwriteRemove
  • channelPermissionsOverwriteUpdated
  • guildNameUpdated
  • guildDescription
  • guildFeatureAdded
  • guildFeatureRemoved
  • guildOwnershipTransferred
  • guildPartnershipStatusUpdated
  • guildVerificationLevelUpdated
  • guildVerifiedStatusUpdated
  • guildMFALevelUpdated – Multi-Factor Authentication Level
  • guildNSFWUpdated
  • guildExplicitFilterUpdated
  • guildNitroBoostCount
  • guildNitroBoostTier
  • guildVanityURLUpdated
  • guildIconUpdated
  • guildBannerUpdated
  • guildSplashImageUpdated
  • guildDefaultNotificationsUpdated
  • guildPreferredLocaleUpdated
  • guildAFKTimeoutUpdated
  • guildAFKChannelUpdated
  • guildPublicUpdatesChannelUpdated
  • guildWidgetChannelUpdated
  • guildSystemChannelFlagsUpdated
  • guildMemberRoleGiven
  • guildMemberRoleTaken
  • roleNameUpdated
  • roleColorUpdate
  • roleHoistStateUpdated
  • roleMentionableUpdated
  • rolePermsUpdated

You use these in the client on section… meaning here:

client.on('guildBanAdd' (args) => {
// code here
});

Just replace the guildBanAdd with one of the items above. Then replace the args with the args you want to pass through.

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.