Skip to content

Commit

Permalink
Fix: 修复绘图指令表被抢指令的bug。 (#368)
Browse files Browse the repository at this point in the history
* feat: add support for ‘greeting’ and ‘global reply mode’ commands, improve variable naming and remove unnecessary backend output.

* feat: Add support for black and white lists, global reply mode and voice role settings, private chat switch, and active greeting configuration. Refactor some variable names and comment out redundant code for better readability and reduced backend output.

* feat: 为新功能完善了帮助面板

* docs: 完善了‘打招呼’的帮助说明

* Commit Type: feat, bugfix

Add functionality to view plugin command table, fix bug in blacklist/whitelist, and fix bug where chat mode can still be used in private messaging when disabled.

* Commit Type: feat, bugfix

Add functionality to view plugin command table, fix bug in blacklist/whitelist, and fix bug where chat mode can still be used in private messaging when disabled.

* refactor: Remove redundant log output.

* Refactor: optimize code logic

* Fix: 修复绘图指令表被抢指令的bug。

---------

Co-authored-by: Sean <[email protected]>
Co-authored-by: ikechan8370 <[email protected]>
  • Loading branch information
3 people authored Apr 19, 2023
1 parent e7a0bcf commit 2ce0a56
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion apps/draw.js
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ export class dalle extends plugin {
name: 'ChatGPT-Plugin Dalle 绘图',
dsc: 'ChatGPT-Plugin基于OpenAI Dalle的绘图插件',
event: 'message',
priority: 500,
priority: 600,
rule: [
{
reg: '^#(chatgpt|ChatGPT|dalle|Dalle)(绘图|画图)',
Expand Down
2 changes: 1 addition & 1 deletion apps/management.js
Original file line number Diff line number Diff line change
Expand Up @@ -265,7 +265,7 @@ export class ChatgptManagement extends plugin {
}

await this.reply(prompts.join('\n'))
return false
return true
}

/**
Expand Down

0 comments on commit 2ce0a56

Please sign in to comment.