mirror of
https://github.com/TriM-Organization/LiteyukiBot-TriM.git
synced 2024-11-11 09:37:29 +08:00
2 lines
89 B
Python
2 lines
89 B
Python
|
def detect_lang(input_str: str) -> str:
|
||
|
return "zh-CN" if input_str == "zh" else "en"
|