diff --git a/package.json b/package.json index 3e74133..d72a663 100644 --- a/package.json +++ b/package.json @@ -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/", diff --git a/src/types/protocol.ts b/src/types/protocol.ts index 037f1e9..2dffc9a 100644 --- a/src/types/protocol.ts +++ b/src/types/protocol.ts @@ -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 { + throw new Error('Method not implemented.'); + } + public get fullName(): string { return this.plugin.manifest.name + '/' + this.name; }