Empty commit

This commit is contained in:
2022-05-15 19:45:16 +03:00
parent 7b42004f1b
commit 79b2de905c
3 changed files with 0 additions and 11 deletions
-2
View File
@@ -8,8 +8,6 @@ load_dotenv()
bot = telebot.TeleBot(os.getenv("TELEGRAM_TOKEN"))
# remove previous webhook
bot.remove_webhook()
# configure the webhook for the bot
bot.set_webhook(
-7
View File
@@ -1,5 +1,3 @@
import os
import flask
import telebot
@@ -28,8 +26,3 @@ def webhook():
return ""
else:
flask.abort(403)
if __name__ == "__main__":
port = int(os.environ.get("PORT", 33507))
app.run(host="0.0.0.0", port=port)
-2
View File
@@ -1,5 +1,3 @@
import os
from src.server import app
if __name__ == "__main__":