mirror of
https://github.com/zhenxun-org/zhenxun_bot.git
synced 2026-10-11 23:10:02 +08:00
🚨 auto fix by pre-commit hooks
This commit is contained in:
@@ -63,10 +63,7 @@ class ApiDataSource:
|
||||
else:
|
||||
nickname = bot.self_id
|
||||
ava_url: str = (
|
||||
await PlatformUtils.get_user_avatar_url(
|
||||
bot.self_id, platform
|
||||
)
|
||||
or ""
|
||||
await PlatformUtils.get_user_avatar_url(bot.self_id, platform) or ""
|
||||
)
|
||||
bot_info = BotInfo(
|
||||
self_id=bot.self_id, nickname=nickname, ava_url=ava_url, platform=platform
|
||||
|
||||
Reference in New Issue
Block a user