From 287ab63091e1758c527b0c7f786cfe04b4c4349d Mon Sep 17 00:00:00 2001 From: snowy Date: Tue, 20 Aug 2024 06:24:00 +0800 Subject: [PATCH] =?UTF-8?q?:sparkles:=20=E7=A7=BB=E9=99=A4=E6=B5=8B?= =?UTF-8?q?=E8=AF=95=E6=8F=92=E4=BB=B6?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/liteyuki_plugins/ts_sm_ly.py | 19 ------------------- src/nonebot_plugins/to_liteyuki.py | 4 ++-- 2 files changed, 2 insertions(+), 21 deletions(-) delete mode 100644 src/liteyuki_plugins/ts_sm_ly.py diff --git a/src/liteyuki_plugins/ts_sm_ly.py b/src/liteyuki_plugins/ts_sm_ly.py deleted file mode 100644 index 5e68b499..00000000 --- a/src/liteyuki_plugins/ts_sm_ly.py +++ /dev/null @@ -1,19 +0,0 @@ -# -*- coding: utf-8 -*- -""" -Copyright (C) 2020-2024 LiteyukiStudio. All Rights Reserved - -@Time : 2024/8/19 下午8:57 -@Author : snowykami -@Email : snowykami@outlook.com -@File : ts_sm.py -@Software: PyCharm -""" -import asyncio - -from liteyuki.comm.storage import shared_memory -from liteyuki import get_bot - - -@shared_memory.on_subscriber_receive("to_liteyuki") -async def _(data): - print("主进程接收数据async:", data) diff --git a/src/nonebot_plugins/to_liteyuki.py b/src/nonebot_plugins/to_liteyuki.py index 85c3b2eb..1d01bcfd 100644 --- a/src/nonebot_plugins/to_liteyuki.py +++ b/src/nonebot_plugins/to_liteyuki.py @@ -16,8 +16,8 @@ from liteyuki.message.event import Event __plugin_meta__ = PluginMetadata( name="轻雪物流", - description="把消息事件传递给轻雪", - usage="无需使用", + description="把消息事件传递给轻雪框架进行处理", + usage="用户无需使用", )