1
0
forked from bot/app

🚀 测试文档工作流

This commit is contained in:
2024-08-19 23:47:39 +08:00
parent 55a427e344
commit 6dcb085b53
48 changed files with 316 additions and 1704 deletions

View File

@ -12,7 +12,7 @@ Copyright (C) 2020-2024 LiteyukiStudio. All Rights Reserved
import nonebot
from liteyuki.utils import IS_MAIN_PROCESS
from liteyuki.plugin import PluginMetadata, PluginType
from .nb_utils import adapter_manager, driver_manager # type: ignore
from .nb_utils import adapter_manager, driver_manager # type_: ignore
__plugin_meta__ = PluginMetadata(
name="NoneBot2启动器",

View File

@ -0,0 +1,19 @@
# -*- 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)