mirror of
https://github.com/zhayujie/chatgpt-on-wechat.git
synced 2026-07-20 21:57:14 +08:00
fix: not enable user_image_create_prefix by default
This commit is contained in:
@@ -96,7 +96,7 @@ class MJBot:
|
|||||||
return TaskType.VARIATION
|
return TaskType.VARIATION
|
||||||
elif cmd_list[0].lower() == f"{trigger_prefix}mjr":
|
elif cmd_list[0].lower() == f"{trigger_prefix}mjr":
|
||||||
return TaskType.RESET
|
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
|
return TaskType.GENERATE
|
||||||
|
|
||||||
def process_mj_task(self, mj_type: TaskType, e_context: EventContext):
|
def process_mj_task(self, mj_type: TaskType, e_context: EventContext):
|
||||||
|
|||||||
Reference in New Issue
Block a user