diff --git a/nonebot_plugin_marshoai/azure.py b/nonebot_plugin_marshoai/azure.py index 5481d51e..2d21d43f 100644 --- a/nonebot_plugin_marshoai/azure.py +++ b/nonebot_plugin_marshoai/azure.py @@ -59,11 +59,11 @@ async def add_assistantmsg(target: MsgTarget, arg: Message = CommandArg()): @praises_cmd.handle() async def praises(): - await UniMessage(build_praises()).send() + await praises_cmd.finish(build_praises()) @contexts_cmd.handle() async def contexts(target: MsgTarget): - await UniMessage(str(context.build(target.id, target.private)[1:])).send() + await contexts_cmd.finish(str(context.build(target.id, target.private)[1:])) @save_context_cmd.handle() async def save_context(target: MsgTarget, arg: Message = CommandArg()): diff --git a/nonebot_plugin_marshoai/constants.py b/nonebot_plugin_marshoai/constants.py index 3501c17d..3fe7b1dd 100644 --- a/nonebot_plugin_marshoai/constants.py +++ b/nonebot_plugin_marshoai/constants.py @@ -1,5 +1,5 @@ -__version__ = "0.3.4" -USAGE: str = f"""MarshoAI Beta v{__version__} by Asankilp +__version__ = "0.3.4.1" +USAGE: str = f"""MarshoAI-NoneBot Beta v{__version__} by Asankilp 用法: marsho <聊天内容> : 与 Marsho 进行对话。当模型为 GPT-4o(-mini) 等时,可以带上图片进行对话。 nickname [昵称] : 为自己设定昵称,设置昵称后,Marsho 会根据你的昵称进行回答。使用'nickname reset'命令可清除自己设定的昵称。 diff --git a/resources/marsho-new.svg b/resources/marsho-new.svg index c27aad1c..b68e7fad 100644 --- a/resources/marsho-new.svg +++ b/resources/marsho-new.svg @@ -9,16 +9,18 @@ id="svg1" sodipodi:docname="marsho-new.svg" inkscape:version="1.3.2 (091e20e, 2023-11-25, custom)" + inkscape:export-filename="marsho-new.png" + inkscape:export-xdpi="96" + inkscape:export-ydpi="96" + xml:space="preserve" xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape" xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd" xmlns="http://www.w3.org/2000/svg" xmlns:svg="http://www.w3.org/2000/svg" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:cc="http://creativecommons.org/ns#" - xmlns:dc="http://purl.org/dc/elements/1.1/"> - Marsho New Logo - Marsho New Logo - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - Marsho New Logo - - - - Asankilp - - - Marsho的全新可爱logo~ - - - - - - - - - - - - - + id="layer1">Marsho New LogoAsankilpMarsho的全新可爱logo~