From 03d94fcfa0815a905f13b5ea29bf1ad2ff2d83b3 Mon Sep 17 00:00:00 2001 From: zhayujie Date: Wed, 6 Sep 2023 12:02:13 +0800 Subject: [PATCH] fix: not enable user_image_create_prefix by default --- plugins/linkai/midjourney.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugins/linkai/midjourney.py b/plugins/linkai/midjourney.py index d7d0634..3f5ca99 100644 --- a/plugins/linkai/midjourney.py +++ b/plugins/linkai/midjourney.py @@ -96,7 +96,7 @@ class MJBot: return TaskType.VARIATION elif cmd_list[0].lower() == f"{trigger_prefix}mjr": return TaskType.RESET - elif context.type == ContextType.IMAGE_CREATE and self.config.get("use_image_create_prefix"): + elif context.type == ContextType.IMAGE_CREATE and self.config.get("use_image_create_prefix") and self.config.get("enabled"): return TaskType.GENERATE def process_mj_task(self, mj_type: TaskType, e_context: EventContext):