deploying to heroku

This commit is contained in:
2022-05-15 16:38:08 +03:00
parent aa7bb5087c
commit 7d6f6035ea
9 changed files with 37 additions and 16 deletions
+2
View File
@@ -14,6 +14,8 @@ bot.set_webhook(
os.getenv("PROJECT_NAME"), os.getenv("TELEGRAM_TOKEN")
)
)
print(os.getenv("PROJECT_NAME"))
print(os.getenv("TELEGRAM_TOKEN"))
@bot.message_handler(commands=["start"])
-4
View File
@@ -18,7 +18,3 @@ def webhook():
return ""
else:
flask.abort(403)
if __name__ == "__main__":
app.run()