From 355eb130546c644ec2ab4d33aad1882f795cc275 Mon Sep 17 00:00:00 2001 From: Kyomotoi <37587870+Kyomotoi@users.noreply.github.com> Date: Tue, 14 Jul 2020 23:58:01 +0800 Subject: Update other.py --- AyaBot/plugins/other.py | 14 -------------- 1 file changed, 14 deletions(-) diff --git a/AyaBot/plugins/other.py b/AyaBot/plugins/other.py index 6a51ef0..4c1aa9d 100644 --- a/AyaBot/plugins/other.py +++ b/AyaBot/plugins/other.py @@ -26,17 +26,3 @@ async def _(session: CommandSession): return await session.send(f'本群目前共有{len(seach_group_member)}人') - - -@on_command('seach_this_group_qq', aliases=['本群列表'], only_to_me=False, permission=perm.GROUP) -async def _(session: CommandSession): - try: - seach_group_member = await session.bot.get_group_member_list( - group_id=session.event.group_id - ) - except: - print('error') - await session.send('获取数据时出问题,请重试') - return - - await session.send(f'本群成员信息:\n{seach_group_member}') -- cgit v1.2.3