mic0ishere / mi-bot

My old, discord.js v12 bot

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Mi Bot

One of my first discord bots, I know code is awful.

Setup

  1. Create redirects in Discord Developers portal to following URLs:

    • http://localhost:4000/auth
    • http://localhost:4000/dashboard
  2. Create config.json file in global folder and paste this:

    {
      "database": {
        "connection": "<MongoDB url>"
      },
      "dashboard": {
        "port": 4000,
        "redirectURL": "http://localhost:4000"
      },
      "discord": {
        "id": "<Discord Client Id>",
        "token": "<Discord Client Token>",
        "secret": "<Discord Client Secret>"
      }
    }
  3. Install modules - npm i

  4. Run using node index.js

About

My old, discord.js v12 bot

License:Mozilla Public License 2.0


Languages

Language:JavaScript 86.2%Language:Pug 8.0%Language:CSS 5.9%