From f743d7f1e036d44e04d576f1d8a3c96df6c0a415 Mon Sep 17 00:00:00 2001 From: HornCopper Date: Sat, 24 Aug 2024 13:38:27 +0800 Subject: [PATCH] [feat]pendant option error --- src/plugins/jx3/pendant/__init__.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/plugins/jx3/pendant/__init__.py b/src/plugins/jx3/pendant/__init__.py index cc3cc263e..781a06da4 100644 --- a/src/plugins/jx3/pendant/__init__.py +++ b/src/plugins/jx3/pendant/__init__.py @@ -12,6 +12,6 @@ @pendents.handle() async def _(event: GroupMessageEvent, args: Message = CommandArg()): - if args.extract_plain_text() == "" or Config.jx3.api.enable: + if args.extract_plain_text() == "" or not Config.jx3.api.enable: return await pendents.finish(await pendant(name=args.extract_plain_text())) \ No newline at end of file