From 03b570790fbf63cf3eace9040252cdfd9e3765c3 Mon Sep 17 00:00:00 2001 From: yangshiling <47051833+yangshiling@users.noreply.github.com> Date: Mon, 17 Jan 2022 12:09:35 +0800 Subject: [PATCH] =?UTF-8?q?=E9=80=82=E9=85=8D=E6=96=B0=E7=89=88=E6=9C=ACCo?= =?UTF-8?q?mmandSession=3F?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit File "C:\Users\Administrator\Desktop\HoshinoBot\hoshino\modules\authMS\card.py", line 80, in async def reg_group_chat(session: CommandSession): NameError: name 'CommandSession' is not defined --- card.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/card.py b/card.py index 64cbded..ac4313f 100644 --- a/card.py +++ b/card.py @@ -1,5 +1,5 @@ from hoshino.config.__bot__ import SUPERUSERS -from nonebot import on_command +from nonebot import on_command,CommandSession from math import ceil import hoshino