mirror of
https://github.com/NapNeko/NapCatQQ.git
synced 2026-02-13 00:10:27 +00:00
15 lines
361 B
TypeScript
15 lines
361 B
TypeScript
import BaseAction from '../BaseAction';
|
|
import { ActionName } from '../types';
|
|
|
|
export default class GetStatus extends BaseAction<any, any> {
|
|
actionName = ActionName.GetStatus;
|
|
|
|
async _handle(payload: any): Promise<any> {
|
|
return {
|
|
online: !!this.core.selfInfo.online,
|
|
good: true,
|
|
stat: {},
|
|
};
|
|
}
|
|
}
|