app/liteyuki/session/__init__.py
Snowykami 93c17b6026
Some checks failed
Docker Image Build / build (push) Failing after 1m25s
Deploy VitePress site to Pages / build (push) Failing after 1m50s
添加新的配置加载器,支持从YAML、TOML、JSON和环境变量加载配置,并修改默认主机地址
2024-12-02 21:46:29 +08:00

25 lines
517 B
Python

# -*- coding: utf-8 -*-
"""
该模块参考并引用了nonebot-plugin-alconna的消息段定义
"""
from typing import Any
from typing import Iterable
from magicoca import Chan, select
from liteyuki.log import logger
from .models import *
def message_handler_thread(i_chans: Iterable[Chan[Any]]):
"""
Args:
i_chans: 多路输入管道组
Returns:
"""
for msg in select(*i_chans):
logger.debug(f"Recv from anybot {msg}")
logger.info(f"Recv from anybot {msg}")
pass