Discord bot for KaoGeek, built with TypeScript
# Install dependencies
pnpm install
cp .env.example .env
You need to set the BOT_TOKEN
environment variable in .env
file first before running the bot
# Run the bot in development mode
pnpm dev
Before pushing your code please run pnpm format
to fix any issues
- Run with Docker
docker build -t kaogeek-discord-bot . dockrt run -d -e BOT_TOKEN=<TOKEN> -name kaogeek-discord-bot kaogeek-discord-bot
- Run with Node
pnpm install pnpm build pnpm start