fix quit command

This commit is contained in:
jan6 2022-10-22 21:41:16 +03:00
parent f7a7dc40dc
commit 02fe01fa2c
1 changed files with 2 additions and 0 deletions

View File

@ -95,6 +95,8 @@ class Command:
# self.mesg(f"attempting command: {cmd}")
if cmd == "help" or cmd.startswith("help "):
command = "help"
elif cmd.startswith("quit"):
command = "quit"
elif cmd.startswith("echo "):
command = "echo"
elif cmd.startswith("w ") or cmd.startswith("weather "):