Skip to content

Latest commit

 

History

History
22 lines (19 loc) · 925 Bytes

README.md

File metadata and controls

22 lines (19 loc) · 925 Bytes

SwtorDiscordBot

The bot used in /r/swtor's Discord.

You will need:

  • Node.js
  • A (novice) programmer (you probably have one if you run a gaming related Discord, chances are high)
  • A Discord Bot Token see apps

Setting up

  1. in /config/config.json replace the token and root id with your settings.
  2. change the "roles" array to be roles users are allowed to obtain via !roles (NOTE: IN LOWERCASE)
  3. change "channels" VALUES to match that of your server. Do NOT change the keys unless you change them in code too.
  4. In the root folder run:
npm install
  1. You can start the bot by using:
node app

The code is designed to work with a status monitor, specifically PM2. We strongly recommend it as well to keep the bot always online. This bot uses minimal resources, a 128MB RAM VM will suffice in most cases.