feat: try support get_online_clients

This commit is contained in:
手瓜一十雪
2024-05-25 12:02:09 +08:00
parent f315f7977d
commit add759e889
3 changed files with 17 additions and 6 deletions

View File

@@ -0,0 +1,9 @@
import BaseAction from '../BaseAction';
import { ActionName } from '../types';
export class GetOnlineClient extends BaseAction<void, Array<any>> {
actionName = ActionName.GetRobotUinRange;
protected async _handle(payload: void) {
}
}

View File

@@ -78,5 +78,6 @@ export enum ActionName {
GoCQHTTP_GetGroupMsgHistory = 'get_group_msg_history',
GoCQHTTP_GetForwardMsg = 'get_forward_msg',
GetFriendMsgHistory = 'get_friend_msg_history',
GetGroupSystemMsg = 'get_group_system_msg'
GetGroupSystemMsg = 'get_group_system_msg',
GetOnlineClient = "get_online_clients"
}