mirror of
https://github.com/ikechan8370/chatgpt-plugin.git
synced 2025-12-16 21:37:11 +00:00
fix: 修复bym发现的bymbug
This commit is contained in:
parent
221cf4082d
commit
027ff17b13
1 changed files with 1 additions and 1 deletions
|
|
@ -68,7 +68,7 @@ export class bym extends plugin {
|
||||||
let card = e.sender.card || e.sender.nickname
|
let card = e.sender.card || e.sender.nickname
|
||||||
let group = e.group_id
|
let group = e.group_id
|
||||||
let prop = Math.floor(Math.random() * 100)
|
let prop = Math.floor(Math.random() * 100)
|
||||||
if (e.msg?.includes(Config.assistantLabel)) {
|
if (Config.assistantLabel && e.msg?.includes(Config.assistantLabel)) {
|
||||||
prop = prop / 100
|
prop = prop / 100
|
||||||
}
|
}
|
||||||
if (e.msg?.endsWith('?')) {
|
if (e.msg?.endsWith('?')) {
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue