A Discord bot that extends Discord's native Audit Log.
Message edit |
Message delete |
Message edit with image |
Message delete in thread with multiple images |
Member join |
Member leave |
Tag change |
Avatar change |
-
Follow the instructions in create-discord-bot.
Don't forget to give your bot the
Manage Webhookspermission! -
Download this bot and move the
src-discord-audit-log-botfolder into the /src/bots folder from step 1.Run
npm i diff@^5.0.0andnpm i -D @types/diff@^5.0.1to install this bot's dependencies. -
Open config.json to configure your own settings:
[ { "defaultColor": "BLURPLE", "positiveColor": "#3498DB", "neutralColor": "#E67E22", "negativeColor": "#E91E63", "deleteTimeThreshold": 1, "updateTimeThreshold": 0, "guildId": "258167954913361930", "logChannelId": "560648403709591552", "ignoreChannelIds": ["649020657522180128"] } ]Add as many rules as you want to configure for other servers.
defaultColor,positiveColor,neutralColor, andnegativeColorare used to color code log embeds by the action taken.deleteTimeThresholdandupdateTimeThreshold(in seconds) determine if message deletes or updates will be logged or not.guildIdis the server id.logChannelIdis the channel the bot logs into.ignoreChannelIdsis a list of channel ids that the bot ignores for logging, e.g. hidden admin-only channels, read-only information channels, etc.
-
npm startto run the bot.
Visit for more help or information!







