Skip to content

Yash094/Audit-Log-Bot-Discord

Repository files navigation

Discord-audit-log-webhook

MONGODB SETUP

MongoDB LINK

  • Create a free cluster get you connection url and post it in config.json
  • Mongo db documentation on how to get mongo url for your bot.

Installation | How to use the Bot

1. Install node.js v12+ or higher

2. Download this repo and unzip it | or git clone it

3. Install all of the packages with npm install | the important packages are npm install discord.js colors mongoose ascii-table

4. Fill in the parameters, RIGHT in ./config.json

5. start the bot with node index.js

NOTE:

If you are having errors/problems with starting delete the package.json file and do, before you install the packages npm init

MAKE SURE THAT THE BOT HAS ADMIN PERMISSIONS