From 297938758a5e00f9a7e24d7c681ab082e8845e55 Mon Sep 17 00:00:00 2001 From: KimigaiiWuyi <444835641@qq.com> Date: Sun, 20 Apr 2025 20:57:58 +0800 Subject: [PATCH] =?UTF-8?q?=F0=9F=90=9B=20=E4=BF=AE=E5=A4=8D=E9=98=BB?= =?UTF-8?q?=E6=96=AD=E6=B6=88=E6=81=AF=20(#676)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- GenshinUID/__init__.py | 4 ++-- pyproject.toml | 5 ++--- 2 files changed, 4 insertions(+), 5 deletions(-) diff --git a/GenshinUID/__init__.py b/GenshinUID/__init__.py index 4a07de4d..29c5302f 100644 --- a/GenshinUID/__init__.py +++ b/GenshinUID/__init__.py @@ -24,8 +24,8 @@ from nonebot_plugin_apscheduler import scheduler # noqa:E402 from .client import GsClient, driver # noqa:E402 from .models import Message, MessageReceive # noqa:E402 -get_message = on_message(priority=0) -get_notice = on_notice(priority=0) +get_message = on_message(priority=0, block=False) +get_notice = on_notice(priority=0, block=False) get_tn = on('inline') connect_core = on_fullmatch( ('连接core', '链接core'), diff --git a/pyproject.toml b/pyproject.toml index 881e61f8..74cd66c4 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -23,7 +23,7 @@ build-backend = "poetry.core.masonry.api" [tool.poetry] name = "nonebot-plugin-genshinuid" -version = "4.8.0" +version = "4.8.2" description = "支持OneBot(QQ)、OneBotV12、QQ频道、微信、KOOK(开黑啦)、Telegram(电报)、FeiShu(飞书)、DoDo、Villa(米游社大别野)、Discord的全功能NoneBot2原神插件" authors = ["KimigaiiWuyi <444835641@qq.com>"] license = "GPL-3.0-or-later" @@ -54,8 +54,7 @@ aiohttp = "^3.9.3" [[tool.poetry.source]] name = "USTC" url = "https://pypi.mirrors.ustc.edu.cn/simple" -default = false -secondary = true + [tool.poetry.group.dev.dependencies] flake8 = "^6.0.0"