瀏覽代碼

fix: not enable user_image_create_prefix by default

master
zhayujie 1 年之前
父節點
當前提交
03d94fcfa0
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. +1
    -1
      plugins/linkai/midjourney.py

+ 1
- 1
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):


Loading…
取消
儲存