diff --git a/src/index.ts b/src/index.ts index af934cd..e553858 100644 --- a/src/index.ts +++ b/src/index.ts @@ -255,10 +255,6 @@ class Message extends Client { public send(data: any) { this._send?.({ action: "send", args: [data] }); } - - public destroy(error: Error) { - this._send?.({ action: "destroy", args: [error] }); - } } const createChannel = factory(Channel, MODULE);