refactor: Action

This commit is contained in:
手瓜一十雪 committed 2024-11-19 12:49:51 +08:00
1 parent 86db0e827c
commit fa6a8816f8
88 files changed
+206 -221

No files matched your search

@@ -1,4 +1,4 @@
import BaseAction from '../BaseAction';
import { OneBotAction } from '@/onebot/action/OneBotAction';
import { ActionName } from '../types';
import { JSONSchema } from 'json-schema-to-ts';
import { sleep } from '@/common/helper';
@@ -10,7 +10,7 @@ const SchemaData = {
},
} as const satisfies JSONSchema;
export class GetOnlineClient extends BaseAction<void, Array<any>> {
export class GetOnlineClient extends OneBotAction<void, Array<any>> {
actionName = ActionName.GetOnlineClient;
async _handle(payload: void) {