A Discord bot for some Detroit Pistons fans in a Detroit Pistons Discord server.
Use a Node.js version manager like nvm to install the correct version of Node.js. From the root of the repository, run:
nvm installInstall the preferred package manager, pnpm, through Node's corepack tool.
corepack enableInstall all dependencies.
pnpm iIdk yet.
This is a monorepo managed by pnpm. More documentation is needed, but here is a brief overview of the packages and apps that make up this bot.
| Package | Location | Description |
|---|---|---|
@trajan/langbot |
apps/bot |
The Discord bot application. |
@trajan/worker |
apps/worker |
(TODO) A background worker to run cron jobs and other background tasks. |
@trajan/db |
packages/db |
The database schema used by the bot. |
@trajan/nba-api |
packages/nba-api |
An API wrapper around NBA data. |