From cc5f9141fcffc11d5cddb95f2d75603fea791e7e Mon Sep 17 00:00:00 2001 From: Tulir Asokan Date: Fri, 27 May 2022 22:47:58 +0300 Subject: [PATCH] Add more helpful error message --- maubot/cli/config.py | 1 + 1 file changed, 1 insertion(+) diff --git a/maubot/cli/config.py b/maubot/cli/config.py index a1adc2f..5fdc4ea 100644 --- a/maubot/cli/config.py +++ b/maubot/cli/config.py @@ -36,6 +36,7 @@ def get_default_server() -> tuple[str | None, str | None]: server = None if server is None: print(f"{Fore.RED}Default server not configured.{Fore.RESET}") + print(f"Perhaps you forgot to {Fore.CYAN}mbc login{Fore.RESET}?") return None, None return server, _get_token(server)