mirror of
https://github.com/TriM-Organization/LiteyukiBot-TriM.git
synced 2025-09-07 04:36:23 +00:00
feat: 忽略键盘中断类错误
This commit is contained in:
@ -141,3 +141,5 @@ def set_profile(key: str, value: str) -> bool:
|
|||||||
elif key == "timezone":
|
elif key == "timezone":
|
||||||
if value in pytz.all_timezones:
|
if value in pytz.all_timezones:
|
||||||
return True
|
return True
|
||||||
|
elif key == "nickname":
|
||||||
|
return True
|
||||||
|
Reference in New Issue
Block a user