1
0
forked from bot/app
LiteyukiBot/liteyuki/plugins/liteyuki_user/input_handle.py

2 lines
89 B
Python

def detect_lang(input_str: str) -> str:
return "zh-CN" if input_str == "zh" else "en"