oops else if

This commit is contained in:
əlemi 2022-01-14 16:15:30 +01:00
parent 1d519c022f
commit fc6d91affe

View file

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