Skip to content

Latest commit

 

History

History
41 lines (36 loc) · 1.17 KB

README.md

File metadata and controls

41 lines (36 loc) · 1.17 KB

DBots API

Bot for DBots.

Dashboard: https://github.com/theADAMJR/DBots

API

Installation

  1. Fork/download this respository
  2. npm i to install packages

Config

config.json example:

{
    "bot": {
        "token": "",
        "secret": "",
        "ownerId": "218459216145285121",
        "activity": "dbots.co",
        "id": "533947001578979328"
    },
    "guild": {
        "botRoleId": "723982260554039349",
        "devRoleId": "",
        "id": "531196495584821314",
        "logChannelId": "724730682433077359"
    },
    "api": {
        "url": "http://localhost:3000/api/v1",
        "port": "3000",
        "supportInvite": "uDTgxyg"
    },
    "dashboardURL": "http://localhost:4200",
    "mongoURL": "mongodb://localhost/DBots"
}

Redirect URIs

  • https://localhost:3000/api/v1/auth (locally)
  • https://localhost:4200/dashboard (locally)