mirror of
https://github.com/LiteyukiStudio/nonebot-plugin-marshoai.git
synced 2025-09-24 15:36:23 +00:00
🐛 修复 get_message_id 被弃用的问题并简单修缮了代码格式 (#32)
Co-authored-by: sourcery-ai[bot] <58596630+sourcery-ai[bot]@users.noreply.github.com> Co-authored-by: Akarin~ <60691961+Asankilp@users.noreply.github.com>
This commit is contained in:
@ -121,7 +121,7 @@ async def add_assistantmsg(target: MsgTarget, arg: Message = CommandArg()):
|
||||
@praises_cmd.handle()
|
||||
async def praises():
|
||||
# await UniMessage(await tools.call("marshoai-weather.get_weather", {"location":"杭州"})).send()
|
||||
await praises_cmd.finish(build_praises())
|
||||
await praises_cmd.finish(await build_praises())
|
||||
|
||||
|
||||
@contexts_cmd.handle()
|
||||
|
Reference in New Issue
Block a user