changed info command to help

This commit is contained in:
Konrad 2019-09-27 18:37:17 +02:00
parent 2f28bf2d05
commit 19891b29a7
1 changed files with 3 additions and 3 deletions

View File

@ -100,12 +100,12 @@ class HSMensaW(telepot.aio.helper.ChatHandler):
await send_essen(chat_id)
await send_status("Essen versendet für Chat %s (ID: %i)" % (chat, chat_id))
elif text.startswith("/help"):
await send_message(bot_obj=bot, chat_id=chat_id, msg=info_str, parse_mode="markdown")
elif text.startswith("/status") and chat_id in config_ids:
await send_message(bot_obj=bot, chat_id=chat_id, msg=status, parse_mode="markdown")
elif text.startswith("/info"):
await send_message(bot_obj=bot, chat_id=chat_id, msg=info_str, parse_mode="markdown")
elif text.startswith("/logging") and chat_id in config_ids:
if text.endswith("on") or text.endswith("1") or text.lower().endswith("true"):
logging_enabled = True