TemplatesDiscord bots
PostgreSQL
A Discord bot template using PostgreSQL for data persistence.
PostgreSQL
A bot using PostgreSQL and TypeScript for relational data storage.
Getting Started
Create a project with this template:
npx create-robo@next <project-name> --template discord-bots/postgres-tsThen navigate into your project directory:
cd <project-name>Configure PostgreSQL connection in .env:
DATABASE_URL=postgresql://user:password@localhost:5432/mybotRun development mode:
npm run devFeatures
- PostgreSQL integration
- Connection pooling
- TypeScript support
- SQL query building
Hosting
npm run deploy