Browse Source

attempt to improve the error message, added a references to the @help command

master
mb 3 years ago
parent
commit
4d913f53fa
  1. 4
      LogBot/logbot.py

4
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)

Loading…
Cancel
Save