refactor: Action
This commit is contained in:
1 parent
d4fbbd6711
commit
9ffaab178a
88 files changed
+206
-221
No files matched your search
@@ -1,11 +1,11 @@
|
||||
import BaseAction from '../BaseAction';
|
||||
import { OneBotAction } from '@/onebot/action/OneBotAction';
|
||||
import { ActionName } from '../types';
|
||||
|
||||
interface ReturnType {
|
||||
yes: boolean;
|
||||
}
|
||||
|
||||
export default class CanSendRecord extends BaseAction<any, ReturnType> {
|
||||
export default class CanSendRecord extends OneBotAction<any, ReturnType> {
|
||||
actionName = ActionName.CanSendRecord;
|
||||
|
||||
async _handle(_payload: void): Promise<ReturnType> {
|
||||
|
||||
Reference in new issue
Block a user