Go to file
mightypanders fa7ae7cbc1 Readme
2021-11-11 20:21:16 +01:00
server implement most registration functions 2021-11-11 01:01:22 +01:00
.eslintrc eslint 2021-11-08 17:34:13 +01:00
.gitignore gitignore 2021-11-11 01:02:05 +01:00
index.ts move command init to constructor 2021-11-11 00:58:46 +01:00
package.json move command init to constructor 2021-11-11 00:58:46 +01:00
README.md Readme 2021-11-11 20:21:16 +01:00
tsconfig.json initial commit 2021-11-08 17:33:51 +01:00
yarn.lock move command init to constructor 2021-11-11 00:58:46 +01:00

Requirements

  • yarn
  • npm

Environment Variables

  • BOT_TOKEN -> acquire this from your Discord Application Page
  • GUILD_ID -> the guild this bot should be active in. Still needs to be determined manually for the moment.
  • CLIENT_ID -> not used right now

If you want to use this locally put these values into a file called .env in the project root.

BOT_TOKEN=<value here>
GUILD_ID=<value here>
CLIENT_ID=<value here>

Usage

  • Clone repo
  • cd into dir
  • yarn install

Building

  • yarn run build

Start local instance

  • yarn run watch for hot recompile on changes
  • yarn run monitor for hot reload on recompile

Start normal instance

  • yarn run start