mirror of
https://github.com/ikechan8370/chatgpt-plugin.git
synced 2025-12-16 13:27:08 +00:00
fix: task format
This commit is contained in:
parent
e67a145635
commit
c1dd406b62
1 changed files with 9 additions and 9 deletions
|
|
@ -363,17 +363,17 @@ export class ChatgptManagement extends plugin {
|
||||||
reg: '^#(chatgpt)?(Copilot|Bing|必应)配置方法',
|
reg: '^#(chatgpt)?(Copilot|Bing|必应)配置方法',
|
||||||
fnc: 'copilotSetting'
|
fnc: 'copilotSetting'
|
||||||
}
|
}
|
||||||
],
|
|
||||||
task: [
|
|
||||||
{
|
|
||||||
cron: '0 */2 * * * ?',
|
|
||||||
// cron: '*/1 * * * *',
|
|
||||||
name: 'refreshBingAi',
|
|
||||||
fnc: 'refreshBingAi',
|
|
||||||
log: false
|
|
||||||
}
|
|
||||||
]
|
]
|
||||||
})
|
})
|
||||||
|
this.task = [
|
||||||
|
{
|
||||||
|
cron: '0 */2 * * * ?',
|
||||||
|
// cron: '*/1 * * * *',
|
||||||
|
name: 'refreshBingAi',
|
||||||
|
fnc: this.refreshBingAi,
|
||||||
|
log: false
|
||||||
|
}
|
||||||
|
]
|
||||||
this.reply = async (msg, quote, data) => {
|
this.reply = async (msg, quote, data) => {
|
||||||
if (!Config.enableMd) {
|
if (!Config.enableMd) {
|
||||||
return e.reply(msg, quote, data)
|
return e.reply(msg, quote, data)
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue