From 9cb3733f80a2e931548402c4e643cc97015de4ed Mon Sep 17 00:00:00 2001 From: mobyw Date: Wed, 29 May 2024 17:33:07 +0800 Subject: [PATCH 1/3] :sparkles: reexport User for nonebug --- nonebot/adapters/console/__init__.py | 1 + 1 file changed, 1 insertion(+) diff --git a/nonebot/adapters/console/__init__.py b/nonebot/adapters/console/__init__.py index c27b73e..77eee88 100644 --- a/nonebot/adapters/console/__init__.py +++ b/nonebot/adapters/console/__init__.py @@ -1,6 +1,7 @@ BOT_ID = "console" from .bot import Bot as Bot +from .event import User as User from .event import Event as Event from .adapter import Adapter as Adapter from .message import Message as Message From b3a93465812b60e61e91697048b9d4f4c9747f03 Mon Sep 17 00:00:00 2001 From: Ju4tCode <42488585+yanyongyu@users.noreply.github.com> Date: Thu, 30 May 2024 14:06:56 +0800 Subject: [PATCH 2/3] Update nonebot/adapters/console/__init__.py --- nonebot/adapters/console/__init__.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/nonebot/adapters/console/__init__.py b/nonebot/adapters/console/__init__.py index 77eee88..96b1680 100644 --- a/nonebot/adapters/console/__init__.py +++ b/nonebot/adapters/console/__init__.py @@ -1,7 +1,7 @@ BOT_ID = "console" from .bot import Bot as Bot -from .event import User as User +from nonechat.info import User as User from .event import Event as Event from .adapter import Adapter as Adapter from .message import Message as Message From b59d5656b632dfccf1a8b0c9d5a8093322027ad8 Mon Sep 17 00:00:00 2001 From: "pre-commit-ci[bot]" <66853113+pre-commit-ci[bot]@users.noreply.github.com> Date: Thu, 30 May 2024 06:07:04 +0000 Subject: [PATCH 3/3] :rotating_light: auto fix by pre-commit hooks --- nonebot/adapters/console/__init__.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/nonebot/adapters/console/__init__.py b/nonebot/adapters/console/__init__.py index 96b1680..c16db7f 100644 --- a/nonebot/adapters/console/__init__.py +++ b/nonebot/adapters/console/__init__.py @@ -1,7 +1,8 @@ BOT_ID = "console" -from .bot import Bot as Bot from nonechat.info import User as User + +from .bot import Bot as Bot from .event import Event as Event from .adapter import Adapter as Adapter from .message import Message as Message