From 469ac4035c4d4d0223114243eeeabeb26a3f5278 Mon Sep 17 00:00:00 2001 From: Cinte Date: Mon, 30 May 2022 11:27:14 +0800 Subject: [PATCH] =?UTF-8?q?=E5=A4=A7=E6=A6=82=E6=98=AF=E6=8A=8Agroup=5Fhan?= =?UTF-8?q?dle=E5=86=99=E6=88=90=E4=BA=86friend=5Fhandle?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- basic_plugins/super_cmd/bot_friend_group.py | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/basic_plugins/super_cmd/bot_friend_group.py b/basic_plugins/super_cmd/bot_friend_group.py index 0e1f9706..980fd14b 100755 --- a/basic_plugins/super_cmd/bot_friend_group.py +++ b/basic_plugins/super_cmd/bot_friend_group.py @@ -119,18 +119,18 @@ async def _(bot: Bot, cmd: Tuple[str, ...] = Command(), arg: Message = CommandAr ) flag = await requests_manager.approve(bot, id_, "group") else: - await friend_handle.send("同意群聊请求失败,未找到此id的请求..") + await group_handle.send("同意群聊请求失败,未找到此id的请求..") else: flag = await requests_manager.refused(bot, id_, "group") if flag == 1: - await friend_handle.send(f"{cmd[:2]}群聊请求失败,该请求已失效..") + await group_handle.send(f"{cmd[:2]}群聊请求失败,该请求已失效..") requests_manager.delete_request(id_, "group") elif flag == 2: - await friend_handle.send(f"{cmd[:2]}群聊请求失败,未找到此id的请求..") + await group_handle.send(f"{cmd[:2]}群聊请求失败,未找到此id的请求..") else: - await friend_handle.send(f"{cmd[:2]}群聊请求成功!") + await group_handle.send(f"{cmd[:2]}群聊请求成功!") else: - await friend_handle.send("id必须为纯数字!") + await group_handle.send("id必须为纯数字!") @cls_request.handle()