Go to file
mightypanders 77aaca2764
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful
add @types/node
2022-05-05 22:31:19 +02:00
server remove unnecessary dependencies and code 2022-05-05 22:29:33 +02:00
tests handle test behaviour on start up 2022-05-05 21:39:10 +02: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 remove unneccessary build step 2022-03-06 18:22:04 +01:00
dockerbuild.sh correct tag in build.sh 2022-03-06 18:20:05 +01:00
Dockerfile fix dockerfile 2022-04-13 21:41:02 +02:00
index.ts remove unnecessary dependencies and code 2022-05-05 22:29:33 +02:00
jest.config.js copy from ttt bot 2022-01-03 15:07:49 +01:00
package.json add @types/node 2022-05-05 22:31:19 +02:00
README.md [CI SKIP] add badge 2022-05-05 21:52:05 +02:00
tsconfig.json tsconfig 2022-04-21 19:45:47 +02:00
yarn.lock add @types/node 2022-05-05 22:31:19 +02:00

Build Status

status-badge

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