chore: run eslint --fix in onebot module

This commit is contained in:
Wesley F. Young committed 2024-08-09 20:35:03 +08:00
1 parent 714f8327ea
commit 5990e0c2eb
110 files changed
+3830 -3827

No files matched your search

+11 -11
View File
@@ -4,21 +4,21 @@ import { JSONSchema } from 'json-schema-to-ts';
import { sleep } from '@/common/utils/helper';
const SchemaData = {
type: 'object',
properties: {
no_cache: { type: 'boolean' },
}
type: 'object',
properties: {
no_cache: { type: 'boolean' },
}
} as const satisfies JSONSchema;
export class GetOnlineClient extends BaseAction<void, Array<any>> {
actionName = ActionName.GetOnlineClient;
actionName = ActionName.GetOnlineClient;
protected async _handle(payload: void) {
protected async _handle(payload: void) {
//注册监听
const NTQQSystemApi = this.CoreContext.getApiContext().SystemApi;
NTQQSystemApi.getOnlineDev();
await sleep(500);
const NTQQSystemApi = this.CoreContext.getApiContext().SystemApi;
NTQQSystemApi.getOnlineDev();
await sleep(500);
return [];
}
return [];
}
}