Skip to content
This repository has been archived by the owner on Sep 18, 2024. It is now read-only.

Commit

Permalink
<jx3>[feat]pendant option error
Browse files Browse the repository at this point in the history
  • Loading branch information
HornCopper committed Aug 24, 2024
1 parent debeda9 commit f743d7f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/plugins/jx3/pendant/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -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()))

0 comments on commit f743d7f

Please sign in to comment.