/trajan-langbot

A Discord bot for some Detroit Pistons fans in a Detroit Pistons Discord server.

Primary LanguageTypeScriptMIT LicenseMIT

trajan-langbot

A Discord bot for some Detroit Pistons fans in a Detroit Pistons Discord server.

Getting started

Use a Node.js version manager like nvm to install the correct version of Node.js. From the root of the repository, run:

nvm install

Install the preferred package manager, pnpm, through Node's corepack tool.

corepack enable

Install all dependencies.

pnpm i

Running the bot

Idk yet.

Structure

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.