From fc6d91affefbdb6270e2bed68840eee6be85c061 Mon Sep 17 00:00:00 2001 From: alemidev Date: Fri, 14 Jan 2022 16:15:30 +0100 Subject: [PATCH] oops else if --- aiocraft/util/helpers.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/aiocraft/util/helpers.py b/aiocraft/util/helpers.py index ed95ac4..6908c43 100644 --- a/aiocraft/util/helpers.py +++ b/aiocraft/util/helpers.py @@ -50,9 +50,9 @@ def parse_chat(msg:Union[dict,str], ansi_color:bool=False) -> str: if "text" in data or "translate" in data: if ansi_color: out += _parse_formatted_block(data) - else if "text" in data: + elif "text" in data: out += data["text"] - else if "translate" in data: + elif "translate" in data: out += data["translate"] if "with" in data: for elem in data["with"]: