mirror of
https://github.com/LiteyukiStudio/nonebot-plugin-marshoai.git
synced 2025-08-02 11:40:04 +00:00
✨ 更新 mypy 版本至 1.13.0,重构 marshoai-megakits 模块并添加随机数和计算功能
This commit is contained in:
16
nonebot_plugin_marshoai/tools/marshoai_meogirl/__init__.py
Normal file
16
nonebot_plugin_marshoai/tools/marshoai_meogirl/__init__.py
Normal file
@ -0,0 +1,16 @@
|
||||
from . import mg_Info, mg_Introduce, mg_Search
|
||||
|
||||
|
||||
# meogirl
|
||||
async def meogirl():
|
||||
return mg_Info.meogirl()
|
||||
|
||||
|
||||
# Search
|
||||
async def search(msg: str, num: int = 3):
|
||||
return str(await mg_Search.search(msg, num))
|
||||
|
||||
|
||||
# Show
|
||||
async def introduce(msg: str):
|
||||
return str(await mg_Introduce.introduce(msg))
|
Reference in New Issue
Block a user