mirror of
https://github.com/NapNeko/NapCatQQ.git
synced 2025-07-19 12:03:37 +00:00
16 lines
424 B
TypeScript
16 lines
424 B
TypeScript
|
|
import { OB11User } from '../../types';
|
|
import { OB11Constructor } from '../../helper/data';
|
|
import BaseAction from '../BaseAction';
|
|
import { ActionName } from '../types';
|
|
|
|
class GetLoginInfo extends BaseAction<null, OB11User> {
|
|
actionName = ActionName.GetLoginInfo;
|
|
|
|
protected async _handle(payload: null) {
|
|
return OB11Constructor.selfInfo(this.CoreContext.selfInfo);
|
|
}
|
|
}
|
|
|
|
export default GetLoginInfo;
|