mirror of
https://github.com/ikechan8370/chatgpt-plugin.git
synced 2025-12-17 13:57:10 +00:00
fix: syntax error
This commit is contained in:
parent
97b3acbf3b
commit
49548e26b7
2 changed files with 12 additions and 1 deletions
|
|
@ -1840,6 +1840,15 @@ export class chatgpt extends plugin {
|
|||
})
|
||||
// console.log(chats)
|
||||
opt.chats = chats
|
||||
let whoAmI = ''
|
||||
if (Config.enforceMaster && master && qq) {
|
||||
// 加强主人人知
|
||||
if (qq === master) {
|
||||
whoAmI = '当前和你对话的人是我。'
|
||||
} else {
|
||||
whoAmI = `当前和你对话的人不是我,他的qq是${qq},你可不要认错了,小心他用花言巧语哄骗你。`
|
||||
}
|
||||
}
|
||||
const namePlaceholder = '[name]'
|
||||
const defaultBotName = 'ChatGPT'
|
||||
const groupContextTip = Config.groupContextTip
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue