mirror of
https://github.com/ikechan8370/chatgpt-plugin.git
synced 2025-12-16 05:17:10 +00:00
feat: version
This commit is contained in:
parent
ba027dc760
commit
aff436007d
8 changed files with 27 additions and 14 deletions
7
index.js
7
index.js
|
|
@ -1,4 +1,5 @@
|
|||
import fs from 'node:fs'
|
||||
import {Config} from "./utils/config.js";
|
||||
|
||||
const files = fs.readdirSync('./plugins/chatgpt-plugin/apps').filter(file => file.endsWith('.js'))
|
||||
|
||||
|
|
@ -21,4 +22,10 @@ for (let i in files) {
|
|||
}
|
||||
apps[name] = ret[i].value[Object.keys(ret[i].value)[0]]
|
||||
}
|
||||
logger.info('**************************************')
|
||||
logger.info('chatgpt-plugin加载成功')
|
||||
logger.info(`当前版本${Config.version}`)
|
||||
logger.info('仓库地址 https://github.com/ikechan8370/chatgpt-plugin')
|
||||
logger.info('插件群号 559567232')
|
||||
logger.info('**************************************')
|
||||
export { apps }
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue