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