mirror of
				https://github.com/suyiiyii/nonebot-bison.git
				synced 2025-11-04 05:24:53 +08:00 
			
		
		
		
	🐛 优化无权限提示的排版
This commit is contained in:
		
							parent
							
								
									bbe5a22479
								
							
						
					
					
						commit
						adf14840df
					
				@ -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__ = [
 | 
			
		||||
 | 
			
		||||
@ -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 管理员"
 | 
			
		||||
 | 
			
		||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user