mirror of
https://github.com/LiteyukiStudio/nonebot-plugin-marshoai.git
synced 2025-02-12 15:39:58 +08:00
⚡ 去除contexts_cmd多余的切片操作
This commit is contained in:
parent
c44317f4c5
commit
16f3852cc6
@ -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()
|
||||||
|
Loading…
x
Reference in New Issue
Block a user