mirror of
				https://github.com/nonebot/nonebot2.git
				synced 2025-10-31 06:56:39 +00:00 
			
		
		
		
	Restore test_permission.py
This commit is contained in:
		| @@ -11,3 +11,8 @@ test_command = on_startswith("hello", to_me(), permission=SUPERUSER) | ||||
| @test_command.handle() | ||||
| async def test_handler(bot: CQHTTPBot): | ||||
|     await test_command.finish("cqhttp hello") | ||||
|  | ||||
|  | ||||
| @test_command.handle() | ||||
| async def test_handler(bot: DingBot): | ||||
|     await test_command.finish("ding hello") | ||||
|   | ||||
		Reference in New Issue
	
	Block a user