mirror of
https://github.com/NapNeko/NapCatQQ.git
synced 2026-02-11 23:40:24 +00:00
refactor: rename all coreContext -> core
This commit is contained in:
@@ -7,7 +7,7 @@ class GetLoginInfo extends BaseAction<null, OB11User> {
|
||||
actionName = ActionName.GetLoginInfo;
|
||||
|
||||
async _handle(payload: null) {
|
||||
return OB11Constructor.selfInfo(this.CoreContext.selfInfo);
|
||||
return OB11Constructor.selfInfo(this.core.selfInfo);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@@ -6,7 +6,7 @@ export default class GetStatus extends BaseAction<any, any> {
|
||||
|
||||
async _handle(payload: any): Promise<any> {
|
||||
return {
|
||||
online: !!this.CoreContext.selfInfo.online,
|
||||
online: !!this.core.selfInfo.online,
|
||||
good: true,
|
||||
stat: {},
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user