🐛 修复webui好友数量显示和登录次数

This commit is contained in:
HibiKier
2024-10-14 22:17:05 +08:00
parent e98af0ac21
commit 6358ce5266
3 changed files with 7 additions and 3 deletions
@@ -49,7 +49,7 @@ class BotManage:
)
group_list, _ = await PlatformUtils.get_group_list(bot)
group_list = [g for g in group_list if g.channel_id is None]
friend_list = await PlatformUtils.get_friend_list(bot)
friend_list, _ = await PlatformUtils.get_friend_list(bot)
bot_info.group_count = len(group_list)
bot_info.friend_count = len(friend_list)
bot_info.day_call = await Statistics.filter(