mirror of
https://github.com/ikechan8370/chatgpt-plugin.git
synced 2025-12-17 13:57:10 +00:00
Merge branch 'v2' into v2
This commit is contained in:
commit
775483c989
5 changed files with 40 additions and 9 deletions
|
|
@ -71,13 +71,13 @@ export class bym extends plugin {
|
|||
if (!Config.enableBYM) {
|
||||
return false
|
||||
}
|
||||
|
||||
const sender = e.sender.user_id
|
||||
const atBot = e.atme
|
||||
const card = e.sender.card || e.sender.nickname
|
||||
const group = e.group_id
|
||||
let ALLRole = 'default'
|
||||
|
||||
|
||||
let prop = Math.floor(Math.random() * 100)
|
||||
if (Config.assistantLabel && e.msg?.includes(Config.assistantLabel)) {
|
||||
prop = -1
|
||||
|
|
@ -291,7 +291,7 @@ export class bym extends plugin {
|
|||
}
|
||||
|
||||
let rsp = await core.sendMessage(e.msg, {}, Config.bymMode, e, {
|
||||
enableSmart: true,
|
||||
enableSmart: Config.smartMode,
|
||||
system: {
|
||||
api: system,
|
||||
qwen: system,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue