refactor: Action

This commit is contained in:
手瓜一十雪
2024-11-19 12:49:51 +08:00
parent d4fbbd6711
commit 9ffaab178a
88 changed files with 206 additions and 221 deletions

View File

@@ -1,4 +1,4 @@
import BaseAction from '../BaseAction';
import { OneBotAction } from '@/onebot/action/OneBotAction';
import { ActionName } from '../types';
interface Payload {
@@ -6,7 +6,7 @@ interface Payload {
count: number
}
export class GetProfileLike extends BaseAction<Payload, any> {
export class GetProfileLike extends OneBotAction<Payload, any> {
actionName = ActionName.GetProfileLike;
async _handle(payload: Payload) {