implement new sendTo method
This commit is contained in:
parent
2640d348f6
commit
68489c733d
@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "@squeebot/core",
|
||||
"version": "3.3.3",
|
||||
"version": "3.3.4",
|
||||
"description": "Squeebot v3 core for the execution environment",
|
||||
"main": "lib/index.js",
|
||||
"module": "lib/",
|
||||
|
@ -61,7 +61,14 @@ export class Protocol extends EventEmitter {
|
||||
this.emit('stopped');
|
||||
}
|
||||
|
||||
public resolve(message: IMessage, ...data: any[]): void {}
|
||||
public resolve(message: IMessage, ...data: any[]): void {
|
||||
throw new Error('Method not implemented.');
|
||||
}
|
||||
|
||||
public async sendTo(target: string, ...data: any[]): Promise<boolean> {
|
||||
throw new Error('Method not implemented.');
|
||||
}
|
||||
|
||||
public get fullName(): string {
|
||||
return this.plugin.manifest.name + '/' + this.name;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user