mirror of
https://github.com/LiteyukiStudio/nonebot-plugin-marshoai.git
synced 2025-08-01 22:59:53 +00:00
⚡ 去除contexts_cmd多余的切片操作
This commit is contained in:
@ -83,7 +83,7 @@ async def praises():
|
|||||||
|
|
||||||
@contexts_cmd.handle()
|
@contexts_cmd.handle()
|
||||||
async def contexts(target: MsgTarget):
|
async def contexts(target: MsgTarget):
|
||||||
await contexts_cmd.finish(str(context.build(target.id, target.private)[1:]))
|
await contexts_cmd.finish(str(context.build(target.id, target.private)))
|
||||||
|
|
||||||
|
|
||||||
@save_context_cmd.handle()
|
@save_context_cmd.handle()
|
||||||
|
Reference in New Issue
Block a user