bot
commited on
Commit
·
48126c0
1
Parent(s):
45edb0f
test
Browse files
main.py
CHANGED
@@ -166,6 +166,8 @@ async def init_client():
|
|
166 |
else:
|
167 |
TG_BOT_APPLICATION = Application.builder().token(TG_BOT_TOKEN).build()
|
168 |
await TG_BOT_APPLICATION.bot.set_webhook(TG_WEBHOOK_URL)
|
|
|
|
|
169 |
# 将命令处理函数添加到 dispatcher
|
170 |
TG_BOT_APPLICATION.add_handler(CommandHandler("start", start))
|
171 |
TG_BOT_APPLICATION.add_handler(CommandHandler("help", help))
|
|
|
166 |
else:
|
167 |
TG_BOT_APPLICATION = Application.builder().token(TG_BOT_TOKEN).build()
|
168 |
await TG_BOT_APPLICATION.bot.set_webhook(TG_WEBHOOK_URL)
|
169 |
+
print("==========test==============")
|
170 |
+
print(TG_BOT_APPLICATION.bot.webhook)
|
171 |
# 将命令处理函数添加到 dispatcher
|
172 |
TG_BOT_APPLICATION.add_handler(CommandHandler("start", start))
|
173 |
TG_BOT_APPLICATION.add_handler(CommandHandler("help", help))
|