An Audit Log bot on your discord server There are some bugs here and there expecially on role and user, member update
-----------------------------------------------------
| view message that are deleted, edited, purged |
| view deleted image |
| view role (created, deleted, updated |
| view memberkicked |
| view memberbanned |
-----------------------------------------------------
- Create a bot account on https://discord.com/developers
- Click the application and in the 'bot' section copy the bot token
- Download the source code
- Create a
.env
file in the same folder asindex.js
file, containing:
DISCORD_TOKEN = put-something-here
PREFIX = ~
DELETE_CHANNEL_ID = blablabla
- Install and Run
# install missing dependencies
npm install
# run it
npm start