A Telegram bot built with NestJS for managing PizzaDAO's Global Pizza Party event registrations and community interactions.
This bot serves as the registration and management system for PizzaDAO's telegram groups. It helps manage user registrations across multiple cities worldwide, handles user verification, and facilitates community engagement through post broadcasting.
-
User Registration & Verification
- Automated user verification for new group members
- Custom pizza name generation using AI
-
Profile Management
- Customizable user profiles
- Multiple city participation tracking
- Favorite pizza toppings
- Ninja Turtle character selection
- Mafia movie preferences
-
Group Management
- Broadcast messages
- Automated welcome messages
- User permission management
- Multi-city group support
- Message cleanup and organization
- NestJS
- Telegraf (Telegram Bot Framework)
- PostgreSQL with Knex.js
- OpenAI Integration
- Docker Support
- Node.js v22
- Docker
- Telegram Bot Token
- OpenAI API Key
- Clone the repository:
git clone https://github.com/yourusername/PizzaDao-MoltoBene-TGBot-BE.git
cd PizzaDao-MoltoBene-TGBot-BE- Create
.envfile:
cp .env.example .env
# and update .env file with your config- Install dependencies:
npm install- Start the PostgreSQL database using Docker:
docker-compose up -d- Run database migrations:
npm run migrate
npm run fixtures- Sync unlock events:
npm run unlock:sync- Start the development server:
npm run serve:local