style: lint

This commit is contained in:
手瓜一十雪 committed 2024-05-22 20:58:49 +08:00
1 parent bee26de543
commit 7840ee2207
48 files changed
+1027 -1115

No files matched your search

+4 -4
View File
@@ -1,6 +1,6 @@
import { log } from '@/common/utils/log';
import BaseAction from '../BaseAction'
import { ActionName } from '../types'
import BaseAction from '../BaseAction';
import { ActionName } from '../types';
import { QuickAction, QuickActionEvent, handleQuickOperation } from '@/onebot11/server/postOB11Event';
interface Payload{
@@ -9,9 +9,9 @@ interface Payload{
}
export class GoCQHTTHandleQuickAction extends BaseAction<Payload, null>{
actionName = ActionName.GoCQHTTP_HandleQuickAction
actionName = ActionName.GoCQHTTP_HandleQuickAction;
protected async _handle(payload: Payload): Promise<null> {
handleQuickOperation(payload.context, payload.operation).then().catch(log);
return null
return null;
}
}