This is the official Lines Police CAD bot for discord integration. It allows you to use Lines Police CAD website features right in your discord channel!
- Set Up MongoDB and start mongodb
- Clone repo from https://github.com/SowinskiBraeden/LPC-Bot.git
- Run
npm install
to install dependencies. - Edit the
index.js
file to have the your correct parameters to run the bot. The parameters are as follows:- Version
- Bot Token
- path to config
- mongoURI
- mongoDBO
- Run
npm start
to run theindex.js
file and start the bot. - The bot is now ready to use.
- Install mongodb via brew Step by step instructions
- Start mongodb via brew Step by step instructions
- Locally this will use the knoldus db (or whatever you specify manually)
- launch mongo via your command-line:
mongo
- Use
show dbs
to see all that are available. You should seeknoldus
in the list. - Lets use that db:
use knoldus
.