Tele_Bot_Akasr
1.0.0
To follow this tutorial, we will need:
search for botfather
/newbot
Now click on the url
https://docs.aiogram.dev/en/latest/
pip install -r requirements.txt
Or alternatively to the above two steps you can run
init_setup.shby running the following command in your terminal-
bash init_setup.sh.env file in the root directory and add your OpenAI API key and Telegram BOT TOKEN as follows:OpenAI_API_KEY=sk-xxxxxxxxxxxxxxxxxxxxxxxxxxxxx
TOKEN=xxxxxxxxxx:xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxpython src/chatgpt.py to start the bot