From 4d913f53fa97a5d52c66fbe7447c97d88de1bf81 Mon Sep 17 00:00:00 2001 From: mb Date: Sun, 12 Dec 2021 13:12:35 +0100 Subject: [PATCH] attempt to improve the error message, added a references to the @help command --- LogBot/logbot.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/LogBot/logbot.py b/LogBot/logbot.py index 453d9f1..b38997f 100644 --- a/LogBot/logbot.py +++ b/LogBot/logbot.py @@ -288,7 +288,7 @@ class Logbot(Bot): ) reply = f"I'm switching the stylesheet of this log to: { stylesheet }." except: - reply = f"The stylesheet '{ stylesheet }' is unknown to me. Check @help to see the available stylesheets." + reply = f"The stylesheet '{ stylesheet }' is unknown to me. Check logbot @help to see the available stylesheets." # Response to @font elif "@font" in message.text: @@ -314,7 +314,7 @@ class Logbot(Bot): reply = f"The font '{ font }' is unknown to me. Check @help to see the available fonts." else: - reply = "Hmm ... not sure what you want to do?" + reply = "Hmm ... not sure what you want to do? Check logbot @help to see the available commands." # Regenerate the log webpage self._write_log(message)