Go to file
2022-03-06 17:59:45 +01:00
server use event handling code 2022-03-05 01:24:22 +01:00
tests copy from ttt bot 2022-01-03 15:07:49 +01:00
.eslintrc copy from ttt bot 2022-01-03 15:07:49 +01:00
.gitignore copy from ttt bot 2022-01-03 15:07:49 +01:00
.woodpecker.yml update secrets 2022-03-06 17:15:00 +01:00
dockerbuild.sh add docker build files 2022-03-06 17:59:45 +01:00
Dockerfile add docker build files 2022-03-06 17:59:45 +01:00
index.ts copy from ttt bot 2022-01-03 15:07:49 +01:00
jest.config.js copy from ttt bot 2022-01-03 15:07:49 +01:00
package.json update all packages 2022-03-05 01:23:18 +01:00
README.md copy from ttt bot 2022-01-03 15:07:49 +01:00
tsconfig.json update tsconfig 2022-03-05 01:23:38 +01:00
yarn.lock lock 2022-03-05 01:23:50 +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