mirror of
https://github.com/TriM-Organization/LiteyukiBot-TriM.git
synced 2025-09-08 05:06:23 +00:00
feat: 添加了语言设置界面
This commit is contained in:
2
src/plugins/liteyuki_plugin_user/input_handle.py
Normal file
2
src/plugins/liteyuki_plugin_user/input_handle.py
Normal file
@ -0,0 +1,2 @@
|
||||
def detect_lang(input_str: str) -> str:
|
||||
return "zh-CN" if input_str == "zh" else "en"
|
Reference in New Issue
Block a user