Empty commit

This commit is contained in:
2022-05-15 19:51:09 +03:00
parent 79b2de905c
commit 581338060a
+4
View File
@@ -1,4 +1,5 @@
import os
import time
import requests
import telebot
@@ -9,6 +10,9 @@ load_dotenv()
bot = telebot.TeleBot(os.getenv("TELEGRAM_TOKEN"))
bot.remove_webhook()
time.sleep(0.1)
# configure the webhook for the bot
bot.set_webhook(
"https://{}.herokuapp.com/{}".format(