Merge branch 'v2' into v2

This commit is contained in:
ifeif 2023-06-06 14:34:59 +08:00 committed by GitHub
commit be91e25415
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
26 changed files with 1029 additions and 632 deletions

View file

@ -85,6 +85,7 @@ const defaultConfig = {
sydneyApologyIgnored: true,
enforceMaster: false,
oldview: false,
newhelp: false,
serverPort: 3321,
serverHost: '',
viewHost: '',
@ -98,8 +99,8 @@ const defaultConfig = {
live2dOption_rotation: 0,
groupAdminPage: false,
enablePrivateChat: false,
groupWhitelist: [],
groupBlacklist: [],
whitelist: [],
blacklist: [],
ttsRegex: '/匹配规则/匹配模式',
slackUserToken: '',
slackBotUserToken: '',
@ -123,7 +124,8 @@ const defaultConfig = {
azureTTSEmotion: false,
enhanceAzureTTSEmotion: false,
autoJapanese: false,
version: 'v2.6.0'
enableGenerateContents: false,
version: 'v2.6.2'
}
const _path = process.cwd()
let config = {}