mirror of
https://github.com/ikechan8370/chatgpt-plugin.git
synced 2025-12-17 13:57:10 +00:00
fix: 暂时阉割掉全员禁言功能
This commit is contained in:
parent
cf7b9b7225
commit
188dcbcf9c
1 changed files with 2 additions and 1 deletions
|
|
@ -26,7 +26,8 @@ export class JinyanTool extends AbstractTool {
|
|||
let group = await Bot.pickGroup(groupId)
|
||||
time = parseInt(time.trim())
|
||||
if (qq.trim() === 'all') {
|
||||
await group.muteAll(time > 0)
|
||||
await group.sendMsg('[日志]试图开启全员禁言')
|
||||
// await group.muteAll(time > 0)
|
||||
} else {
|
||||
qq = parseInt(qq.trim())
|
||||
await group.muteMember(qq, time)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue