mirror of
https://github.com/Jerryplusy/crystelf-plugin.git
synced 2025-07-04 06:09:19 +00:00
优化
This commit is contained in:
parent
525194f097
commit
858b34ee37
@ -11,6 +11,7 @@ class Handler {
|
||||
['getGroupInfo', this.handleGetGroupInfo.bind(this)],
|
||||
['sendMessage', this.handleSendMessage.bind(this)],
|
||||
['broadcastMessage', this.broadcastMessage.bind(this)],
|
||||
['reportBots', this.reportBots.bind(this)],
|
||||
]);
|
||||
}
|
||||
|
||||
@ -95,6 +96,10 @@ class Handler {
|
||||
const message = msg.data?.message;
|
||||
await botControl.broadcastMessage(message);
|
||||
}
|
||||
|
||||
async reportBots(client, msg) {
|
||||
await botControl.reportBots();
|
||||
}
|
||||
}
|
||||
|
||||
const handler = new Handler();
|
||||
|
Loading…
x
Reference in New Issue
Block a user