This is a Telegram bot created using Python and Telebot (pyTelegramApi) that allows users to reverage the bot facilities of Telegram to get features such as AI image creation, text with AI and weather focast.
-
Clone the repository to your local machine using
git clone https://github.com/aspects19/telegram-bot
-
Install the dependencies using
pip install -r requirements.txt
-
Create a Telegram bot using BotFather through its BotFather Bot and get your bot token
-
Get your OpenAI token from OpenAI and you AccuWeatherApi
-
Update the
main.py
file with your Telegram bot token, OpenAI API token and AccuWeather API. -
Run the bot using
python main.py
-
Test you bot by texting or sending the /start.
Once the bot is running, users can interact with it by messaging it on Telegram. They can use the /start
command to start using this bot.
This project was created by Aspect.
This project is licensed under the MIT License - see the LICENSE file for details.