Discord bot for Equilibrium, a Torn City faction.
Discord Bot for Equilibrium, a Torn City faction.
git
command line (Windows|Linux|MacOS) installednpm
Version 6.0.0 or highernode
Version 12.0.0 or higherOther bits needed:
git clone https://github.com/TheCodeSinger/equibot
cd equibot
and then run npm install
.auth.js.template
to auth.js
and fill out the required fields.config.js.template
to config.js
and fill out the required fields.To start the bot, run the following command:npm start
If you want to run the bot in the background, you can use the pm2 process manager which is already installed as one of the dependencies. If you create an account online you can link to a web app dashboard monitor. If you choose to use a different method, you may remove the pm2 entry in package.json.
Start and Daemonize the application:pm2 start index.js
Add this process to your OS startup script:pm2 startup
To add the bot to your guild, you have to get an oauth link for it.
You can use this site to help you generate a full OAuth Link, which includes a calculator for the permissions:
https://finitereality.github.io/permissions-calculator/?v=0
Or you can use the discord developer portal where you created your bot.