Tele_Bot_Akasr
1.0.0
Para seguir este tutorial, necesitaremos:
buscar botfather
/Newbot
Ahora haga clic en la URL
https://docs.aiogram.dev/en/latest/
pip install -r requirements.txtO alternativamente a los dos pasos anteriores, puede ejecutar
init_setup.shejecutando el siguiente comando en su terminal-
bash init_setup.sh.env en el directorio raíz y agregue su tecla API OpenAI y Telegram Bot Token de la siguiente manera: OpenAI_API_KEY =sk-xxxxxxxxxxxxxxxxxxxxxxxxxxxxx
TOKEN =xxxxxxxxxx:xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxpython src/chatgpt.py para iniciar el bot