Welcome to the Daily Horoscope Bot (Built for fun purpose)! This Telegram bot provides daily horoscope readings based on your zodiac sign and the desired day.
- Greet users with a friendly message when they start or send a greeting command (/start, /hello, /hi).
- Allow users to request their daily horoscope using the /horoscope command.
- Prompt users to select their zodiac sign and the desired day for the horoscope reading.
- Fetch and display the horoscope information for the specified zodiac sign and day.
-
Clone the repository:
git clone https://github.com/PrantaDas/tg-horoscope.git cd tg-horoscope
-
Install the required dependencies:
pip install -r requirements.txt
-
Set up your Telegram bot and obtain the BOT_TOKEN.
-
Create a
.env
file in the project root and add your BOT_TOKEN:BOT_TOKEN = your_bot_token_here DATA_URL = "https://horoscope-app-api.vercel.app/api/v1/get-horoscope/daily"
-
Run the bot:
python main.py
- Start a chat with the bot on Telegram.
- Send a greeting command (/start, /hello, /hi) to receive a friendly response.
- Use the /horoscope command to request your daily horoscope.
- Follow the prompts to select your zodiac sign and the desired day.
- Receive your personalized horoscope reading from the bot!
Contributions are welcome! If you have ideas for improvements, bug fixes, or new features, please open an issue or submit a pull request.
Happy horoscope reading!