A bot which checks the forum for new messages along with other Chaotic related features.
For information on setting up and adding the bot to a server check the wiki.
You can add the public bot to your server with this invite link.
Note: to reduce load on my server, this public bot does not have the full feature set.
This bot is written in Javascript using Nodejs (node installation) and Discord.js (documentation)
npm install
If you wish to use the ScanQuest, you will need to have MongoDB (mongodb).
Create an auth.json
file in the src
folder.
{
"token": "your bot token",
"db_uri": "connection uri to mongodb"
}
To start the bot in development mode
npm start
npm start:scan
You can add an option to clean build the directory
npm start -- --clean
Since the project uses Babel, the code gets preprocessed (The prod and forever commands build the project by default)
npm run build
To run the production server
node build/bot.js
If you need it to run in the background (such as on AWS EC2 Hosting)
Install yarn on the host server (yarn installation)
yarn forever
To stop the forever instance
yarn stop
If the server is currently running and you wish to rebuild new changes
yarn rebuild