mirror of
https://github.com/ikechan8370/chatgpt-plugin.git
synced 2025-12-16 13:27:08 +00:00
feat: 伪人禁用群 (#758)
This commit is contained in:
parent
916e1082d7
commit
dcc1a4ebd6
3 changed files with 20 additions and 2 deletions
|
|
@ -28,6 +28,12 @@ export class bym extends plugin {
|
|||
if (!Config.enableBYM) {
|
||||
return false
|
||||
}
|
||||
|
||||
// 伪人禁用群
|
||||
if (Config.bymDisableGroup?.includes(e.group_id?.toString())) {
|
||||
return false
|
||||
}
|
||||
|
||||
let sender = e.sender.user_id
|
||||
let card = e.sender.card || e.sender.nickname
|
||||
let group = e.group_id
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue