Skip to content

Commit

Permalink
added webhook and uvicorn package
Browse files Browse the repository at this point in the history
  • Loading branch information
luking-dev committed May 31, 2023
1 parent 1412ebe commit 8924492
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
1 change: 1 addition & 0 deletions bot.py
Original file line number Diff line number Diff line change
Expand Up @@ -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)


Expand Down
6 changes: 5 additions & 1 deletion requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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
Expand Down

0 comments on commit 8924492

Please sign in to comment.