oops else if
This commit is contained in:
parent
1d519c022f
commit
fc6d91affe
1 changed files with 2 additions and 2 deletions
|
@ -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 "text" in data or "translate" in data:
|
||||||
if ansi_color:
|
if ansi_color:
|
||||||
out += _parse_formatted_block(data)
|
out += _parse_formatted_block(data)
|
||||||
else if "text" in data:
|
elif "text" in data:
|
||||||
out += data["text"]
|
out += data["text"]
|
||||||
else if "translate" in data:
|
elif "translate" in data:
|
||||||
out += data["translate"]
|
out += data["translate"]
|
||||||
if "with" in data:
|
if "with" in data:
|
||||||
for elem in data["with"]:
|
for elem in data["with"]:
|
||||||
|
|
Loading…
Reference in a new issue