1
0
forked from bot/app

支持通道通过通道在进程中传递

This commit is contained in:
2024-08-17 23:46:43 +08:00
parent aa9cae7008
commit 8d78e643e0
4 changed files with 81 additions and 34 deletions

View File

@ -1,9 +1,8 @@
import multiprocessing
from nonebot.plugin import PluginMetadata
from liteyuki.comm import get_channel
from .rt_guide import *
from .crt_matchers import *
from liteyuki import get_bot
from .crt_matchers import * # type: ignore
from .rt_guide import * # type: ignore
__plugin_meta__ = PluginMetadata(
@ -17,4 +16,5 @@ __plugin_meta__ = PluginMetadata(
"toggleable" : True,
"default_enable": True,
}
)
)
print(get_bot())