This project includes a Telegram bot that generates random information using the Fauxid API.
- Clone this repository
- Install dependencies:
npm install pip install -r requirements.txt - Create a
.envfile in the root directory and add your Telegram bot token:TELEGRAM_BOT_TOKEN=your_bot_token_here - Run the bot locally:
npm start
This project is set up for deployment on Vercel. Follow these steps:
- Install Vercel CLI:
npm i -g vercel - Run
vercelin the project directory and follow the prompts - Set up your environment variables in the Vercel dashboard
Once the bot is running, start a chat with it on Telegram and use the following commands:
/start: Get a welcome message/generate: Generate random information