mirror of
https://github.com/zhenxun-org/zhenxun_bot.git
synced 2025-12-14 21:52:56 +08:00
✨ 使用更大更清晰的用户头像 (#1939)
This commit is contained in:
parent
9625bdcd26
commit
87f02fd0ef
@ -227,7 +227,7 @@ class PlatformUtils:
|
||||
url = None
|
||||
if platform == "qq":
|
||||
if user_id.isdigit():
|
||||
url = f"http://q1.qlogo.cn/g?b=qq&nk={user_id}&s=160"
|
||||
url = f"http://q1.qlogo.cn/g?b=qq&nk={user_id}&s=640"
|
||||
else:
|
||||
url = f"https://q.qlogo.cn/qqapp/{appid}/{user_id}/640"
|
||||
return await AsyncHttpx.get_content(url) if url else None
|
||||
|
||||
Loading…
Reference in New Issue
Block a user