mirror of
https://github.com/NapNeko/NapCatQQ.git
synced 2025-12-27 03:11:21 +08:00
15 lines
384 B
TypeScript
15 lines
384 B
TypeScript
import { OneBotAction } from '@/onebot/action/OneBotAction';
|
|
import { ActionName } from '../types';
|
|
|
|
export default class GetStatus extends OneBotAction<any, any> {
|
|
actionName = ActionName.GetStatus;
|
|
|
|
async _handle(payload: any): Promise<any> {
|
|
return {
|
|
online: !!this.core.selfInfo.online,
|
|
good: true,
|
|
stat: {},
|
|
};
|
|
}
|
|
}
|