From 1bd223eab2661297734ff55689a803f010b97205 Mon Sep 17 00:00:00 2001 From: Ju4tCode <42488585+yanyongyu@users.noreply.github.com> Date: Wed, 30 Dec 2020 20:19:24 +0800 Subject: [PATCH] Restore test_permission.py --- tests/test_plugins/test_permission.py | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/tests/test_plugins/test_permission.py b/tests/test_plugins/test_permission.py index ee9a45de..a7157dff 100644 --- a/tests/test_plugins/test_permission.py +++ b/tests/test_plugins/test_permission.py @@ -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")