chore: clean-up
This commit is contained in:
1 parent
f91ab8b550
commit
fe51c46bb8
3 files changed
+51
-58
No files matched your search
@@ -12,7 +12,7 @@ export class OB11ActiveHttpAdapter implements IOB11NetworkAdapter {
|
||||
heartbeatInterval: number;
|
||||
secret: string | undefined;
|
||||
coreContext: NapCatCore;
|
||||
onebotContext: NapCatOneBot11Adapter;
|
||||
obContext: NapCatOneBot11Adapter;
|
||||
logger: LogWrapper;
|
||||
|
||||
constructor(url: string, heartbeatInterval: number, secret: string | undefined, coreContext: NapCatCore, onebotContext: NapCatOneBot11Adapter) {
|
||||
@@ -20,15 +20,13 @@ export class OB11ActiveHttpAdapter implements IOB11NetworkAdapter {
|
||||
this.url = url;
|
||||
this.secret = secret;
|
||||
this.coreContext = coreContext;
|
||||
this.onebotContext = onebotContext;
|
||||
this.obContext = onebotContext;
|
||||
this.logger = coreContext.context.logger;
|
||||
}
|
||||
|
||||
registerHeartBeat() {
|
||||
// HttpPost 心跳
|
||||
}
|
||||
registerActionMap(actionMap: Map<string, BaseAction<any, any>>) {
|
||||
}
|
||||
|
||||
registerAction<T extends BaseAction<P, R>, P, R>(action: T) {
|
||||
// Passive http adapter does not need to register actions
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user