remove some logging

This commit is contained in:
BennyThink
2021-01-13 22:09:01 +08:00
parent dbcf4819db
commit 51e2b01f50
3 changed files with 9 additions and 11 deletions

2
bot.py
View File

@@ -126,8 +126,10 @@ def send_search(message):
markup.add(btn)
if result:
logging.info("🎉Resource match.")
bot.send_message(message.chat.id, "呐,💐🌷🌹选一个呀!", reply_markup=markup)
else:
logging.warning("Resource not found")
bot.send_chat_action(message.chat.id, 'typing')
encoded = quote_plus(name)