refactor: Action
This commit is contained in:
1 parent
86db0e827c
commit
fa6a8816f8
88 files changed
+206
-221
No files matched your search
@@ -1,7 +1,7 @@
|
||||
import BaseAction from '../BaseAction';
|
||||
import { OneBotAction } from '@/onebot/action/OneBotAction';
|
||||
import { ActionName } from '../types';
|
||||
|
||||
export default class GetGuildList extends BaseAction<null, null> {
|
||||
export default class GetGuildList extends OneBotAction<null, null> {
|
||||
actionName = ActionName.GetGuildList;
|
||||
|
||||
async _handle(payload: null): Promise<null> {
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
import BaseAction from '../BaseAction';
|
||||
import { OneBotAction } from '@/onebot/action/OneBotAction';
|
||||
import { ActionName } from '../types';
|
||||
|
||||
export default class GetGuildProfile extends BaseAction<null, null> {
|
||||
export default class GetGuildProfile extends OneBotAction<null, null> {
|
||||
actionName = ActionName.GetGuildProfile;
|
||||
|
||||
async _handle(payload: null): Promise<null> {
|
||||
|
||||
Reference in new issue
Block a user