From 8924492cb651f80f6bbfb65660f0a2ed31bc86c9 Mon Sep 17 00:00:00 2001 From: Lucas Zurverra Date: Wed, 31 May 2023 12:31:30 -0300 Subject: [PATCH] added webhook and uvicorn package --- bot.py | 1 + requirements.txt | 6 +++++- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/bot.py b/bot.py index 338fd0f..809cf85 100644 --- a/bot.py +++ b/bot.py @@ -100,6 +100,7 @@ def register_handlers(): def main(): print(f"\n[+] Running Telegram Bot (@{config.BOT_USERNAME})...") # bot.infinity_polling() + bot.set_webhook() bot.infinity_polling(timeout=10, long_polling_timeout=5) diff --git a/requirements.txt b/requirements.txt index d21e04b..f1b9ff0 100644 --- a/requirements.txt +++ b/requirements.txt @@ -5,17 +5,20 @@ bottle-websocket==0.2.9 certifi==2022.12.7 cffi==1.15.1 charset-normalizer==3.0.1 +click==8.1.3 colorama==0.4.6 Eel==0.16.0 future==0.18.3 gevent==22.10.2 gevent-websocket==0.10.1 greenlet==2.0.2 +h11==0.14.0 idna==3.4 Levenshtein==0.20.9 numpy==1.21.6 pefile==2023.2.7 Pillow==9.4.0 +PyAudio==0.2.13 pycparser==2.21 PyGetWindow==0.0.9 pyinstaller==5.10.1 @@ -38,8 +41,9 @@ redis==4.4.2 requests==2.28.2 scipy==1.7.3 six==1.16.0 -#sounddevice==0.4.5 +sounddevice==0.4.5 urllib3==1.26.14 +uvicorn==0.22.0 watchdog==3.0.0 whichcraft==0.6.1 youtube-dl==2021.12.17