Skip to content

Commit

Permalink
🐛 优化无权限提示的排版
Browse files Browse the repository at this point in the history
  • Loading branch information
suyiiyii committed Aug 21, 2024
1 parent bbe5a22 commit adf1484
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion nonebot_bison/sub_manager/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -115,7 +115,7 @@ async def do_dispatch_command(

@no_permission_matcher.handle()
async def send_no_permission():
await no_permission_matcher.finish("您没有权限进行此操作,请联系Bot所有者")
await no_permission_matcher.finish("您没有权限进行此操作,请联系 Bot 管理员")


__all__ = [
Expand Down
2 changes: 1 addition & 1 deletion tests/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -154,4 +154,4 @@ def add_reply_on_id(platform: object) -> str:
)
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 管理员"

0 comments on commit adf1484

Please sign in to comment.