From adf14840df754f03b41e8412610ffc8482cdca4f Mon Sep 17 00:00:00 2001 From: suyiiyii <suyiiyii@gmail.com> Date: Wed, 21 Aug 2024 14:45:57 +0800 Subject: [PATCH] =?UTF-8?q?:bug:=20=E4=BC=98=E5=8C=96=E6=97=A0=E6=9D=83?= =?UTF-8?q?=E9=99=90=E6=8F=90=E7=A4=BA=E7=9A=84=E6=8E=92=E7=89=88?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- nonebot_bison/sub_manager/__init__.py | 2 +- tests/utils.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/nonebot_bison/sub_manager/__init__.py b/nonebot_bison/sub_manager/__init__.py index 66fb3c1..188135f 100644 --- a/nonebot_bison/sub_manager/__init__.py +++ b/nonebot_bison/sub_manager/__init__.py @@ -115,7 +115,7 @@ no_permission_matcher = on_command( @no_permission_matcher.handle() async def send_no_permission(): - await no_permission_matcher.finish("您没有权限进行此操作,请联系Bot所有者") + await no_permission_matcher.finish("您没有权限进行此操作,请联系 Bot 管理员") __all__ = [ diff --git a/tests/utils.py b/tests/utils.py index 11e2532..6e84521 100644 --- a/tests/utils.py +++ b/tests/utils.py @@ -154,4 +154,4 @@ class BotReply: ) add_reply_on_tags_need_more_info = "订阅标签直接输入标签内容\n屏蔽标签请在标签名称前添加~号\n详见https://nonebot-bison.netlify.app/usage/#%E5%B9%B3%E5%8F%B0%E8%AE%A2%E9%98%85%E6%A0%87%E7%AD%BE-tag" add_reply_abort = "已中止订阅" - no_permission = "您没有权限进行此操作,请联系Bot所有者" + no_permission = "您没有权限进行此操作,请联系 Bot 管理员"