mirror of
https://github.com/andwati/unsplash-bot.git
synced 2026-10-24 21:42:15 +00:00
deploying to heroku
This commit is contained in:
@@ -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"])
|
||||
|
||||
@@ -18,7 +18,3 @@ def webhook():
|
||||
return ""
|
||||
else:
|
||||
flask.abort(403)
|
||||
|
||||
|
||||
if __name__ == "__main__":
|
||||
app.run()
|
||||
|
||||
Reference in New Issue
Block a user