Update bot.py
Browse files
bot.py
CHANGED
@@ -107,7 +107,7 @@ async def handle_message(update: Update, context: CallbackContext):
|
|
107 |
# -------------------------
|
108 |
async def set_webhook():
|
109 |
bot = Bot(token=TOKEN)
|
110 |
-
bot.delete_webhook()
|
111 |
# This call will set the webhook to the given URL.
|
112 |
PATH = WEBHOOK_URL + TOKEN
|
113 |
try:
|
|
|
107 |
# -------------------------
|
108 |
async def set_webhook():
|
109 |
bot = Bot(token=TOKEN)
|
110 |
+
#bot.delete_webhook()
|
111 |
# This call will set the webhook to the given URL.
|
112 |
PATH = WEBHOOK_URL + TOKEN
|
113 |
try:
|