mirror of
https://github.com/ikechan8370/chatgpt-plugin.git
synced 2025-12-16 21:37:11 +00:00
fix: 优化一些命令匹配
This commit is contained in:
parent
312af3cf4a
commit
75a060b86c
2 changed files with 9 additions and 11 deletions
|
|
@ -23,12 +23,12 @@ export class ChatgptManagement extends plugin {
|
|||
permission: 'master'
|
||||
},
|
||||
{
|
||||
reg: '#chatgpt设置token',
|
||||
reg: '#chatgpt(设置|绑定)(token|Token)',
|
||||
fnc: 'setAccessToken',
|
||||
permission: 'master'
|
||||
},
|
||||
{
|
||||
reg: '#chatgpt设置必应token',
|
||||
reg: '#chatgpt(设置|绑定)(必应|Bing |bing )(token|Token)',
|
||||
fnc: 'setBingAccessToken',
|
||||
permission: 'master'
|
||||
},
|
||||
|
|
@ -58,11 +58,7 @@ export class ChatgptManagement extends plugin {
|
|||
permission: 'master'
|
||||
},
|
||||
{
|
||||
reg: '^#chatgpt模式帮助$',
|
||||
fnc: 'modeHelp'
|
||||
},
|
||||
{
|
||||
reg: '^#chatgpt模式$',
|
||||
reg: '^#chatgpt模式(帮助)?$',
|
||||
fnc: 'modeHelp'
|
||||
},
|
||||
{
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue