Restore test_permission.py

This commit is contained in:
Ju4tCode 2020-12-30 20:19:24 +08:00 committed by GitHub
parent 55f1bd1f2d
commit 1bd223eab2
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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")