05930e8d338445c019f0e9a3cf6fc18aa41bc265
Lines Police CAD Discord Bot
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!
Requirements :
Getting Started with Code :
- Set Up MongoDB and start mongodb
- Clone repo from https://github.com/SowinskiBraeden/LPC-Bot.git
- Run
npm installto install dependencies. - Edit the
index.jsfile 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 startto run theindex.jsfile and start the bot. - The bot is now ready to use.
Setting up MongoDB
- Install mongodb via brew Step by step instructions
- Start mongodb via brew Step by step instructions
Accessing the Database
- Locally this will use the knoldus db (or whatever you specify manually)
- launch mongo via your command-line:
mongo - Use
show dbsto see all that are available. You should seeknoldusin the list. - Lets use that db:
use knoldus.
Languages
JavaScript
100%
