mirror of
https://github.com/LiteyukiStudio/nonebot-plugin-marshoai.git
synced 2025-08-02 11:40:04 +00:00
✨ 重构 meogirl 模块,统一导入命名并添加类型忽略注释
This commit is contained in:
@ -1,16 +1,16 @@
|
||||
from . import mg_Info, mg_Introduce, mg_Search
|
||||
from . import mg_info, mg_introduce, mg_search
|
||||
|
||||
|
||||
# meogirl
|
||||
async def meogirl():
|
||||
return mg_Info.meogirl()
|
||||
return mg_info.meogirl()
|
||||
|
||||
|
||||
# Search
|
||||
async def search(msg: str, num: int = 3):
|
||||
return str(await mg_Search.search(msg, num))
|
||||
return str(await mg_search.search(msg, num))
|
||||
|
||||
|
||||
# Show
|
||||
async def introduce(msg: str):
|
||||
return str(await mg_Introduce.introduce(msg))
|
||||
return str(await mg_introduce.introduce(msg))
|
||||
|
Reference in New Issue
Block a user