mirror of
https://github.com/A-Minos/nonebot-plugin-tetris-stats.git
synced 2026-03-05 05:36:54 +08:00
🐛 修复 TETR.IO 大写用户名查询失败
This commit is contained in:
@@ -43,7 +43,7 @@ class Player:
|
|||||||
if self.user_id is not None:
|
if self.user_id is not None:
|
||||||
return self.user_id
|
return self.user_id
|
||||||
if self.user_name is not None:
|
if self.user_name is not None:
|
||||||
return self.user_name
|
return self.user_name.lower()
|
||||||
msg = 'Invalid user'
|
msg = 'Invalid user'
|
||||||
raise ValueError(msg)
|
raise ValueError(msg)
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user