mirror of
https://github.com/andwati/unsplash-bot.git
synced 2026-12-05 15:48:46 +00:00
Empty commit
This commit is contained in:
@@ -1 +1 @@
|
|||||||
web: gunicorn --bind 0.0.0.0:$PORT --workers=2 wsgi:app
|
web: gunicorn --bind 0.0.0.0:$PORT wsgi:app
|
||||||
+1
-1
@@ -12,7 +12,7 @@ bot = telebot.TeleBot(os.getenv("TELEGRAM_TOKEN"))
|
|||||||
|
|
||||||
bot.remove_webhook()
|
bot.remove_webhook()
|
||||||
|
|
||||||
time.sleep(0.1)
|
time.sleep(3)
|
||||||
# configure the webhook for the bot
|
# configure the webhook for the bot
|
||||||
bot.set_webhook(
|
bot.set_webhook(
|
||||||
"https://{}.herokuapp.com/{}".format(
|
"https://{}.herokuapp.com/{}".format(
|
||||||
|
|||||||
Reference in New Issue
Block a user