Merge branch 'v2' into v2

This commit is contained in:
ycxom 2025-02-12 13:41:54 +08:00 committed by GitHub
commit 775483c989
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
5 changed files with 40 additions and 9 deletions

View file

@ -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,