From a28313de1291c3771f67c19aaaadecf97a987540 Mon Sep 17 00:00:00 2001 From: Someone Date: Fri, 22 Apr 2022 00:03:20 +0200 Subject: [PATCH] modules/CommandDrink.py --- modules/CommandDrink.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/CommandDrink.py b/modules/CommandDrink.py index 65e9c5d..9dbdec4 100644 --- a/modules/CommandDrink.py +++ b/modules/CommandDrink.py @@ -36,7 +36,7 @@ class CommandDrink(AbstractCommand): account_data = handle.get_account_info() msg = ":arrow_right: Available credits:``"+str(account_data["account_info"]["balance"])+"``" except MCAPI.APIException as exc: - if exc.message == "AUTH_FAIL_ACCTOK": + if exc.message == "CERR_AUTH_FAIL_ACCTOK": request.respond_cmd_temp(cleandoc(""" :stop_sign: Mattermost account seems to not be bound to any drink-terminal account. :( Use ``/drink-bind-account `` to bind this Mattermost account to your drink-terminal account. -- 2.43.0