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"]: