This is a Telegram bot that generates fun "Would You Rather" questions using the Groq API. Users can interact with the bot by requesting a random question and analyzing their answer.
- Generates unique "Would You Rather" questions 🎮
- Analyzes user's answers and provides fun insights 🤔
- Easy interaction via Telegram buttons 📱
- Docker support for seamless deployment 🐳
git clone https://github.com/We4TechAI/Would-You-Rather.git
cd Would-You-Ratherpython3 -m venv venv
source venv/bin/activate # On Windows: venv\Scripts\activate
pip install -r requirements.txtCreate a .env file in the root directory and add the following:
TELEGRAM_TOKEN=your_telegram_bot_token
GROQ=your_groq_api_keypython main.pydocker build --tag would_you_rather:latest .docker run -d --name would_you_rather --env-file .env would_you_rather:latestdocker logs -f would_you_ratherdocker stop would_you_ratherOnce the bot is running, open Telegram and start a chat with your bot.
/start- Get a welcome message and interactive buttons./question- Generate a fun "Would You Rather" question./answer <your choice>- Analyze your answer and get fun insights.
User: /question
Bot: Would you rather have the ability to fly or be invisible?
User: /answer I would rather fly.
Bot: Flying suggests you enjoy freedom and adventure!
We welcome contributions! Feel free to fork the repo, make improvements, and submit a pull request.
This project is licensed under the MIT License.
Happy Gaming! 🎉