Compare commits

...

3 Commits

Author SHA1 Message Date
Derrick Hammer b2aa51d8de
*add destroy method 2023-04-08 22:56:07 -04:00
Derrick Hammer 10ad05f1da
Revert "*add destroy method"
This reverts commit 0483c27c94.
2023-04-08 22:55:28 -04:00
Derrick Hammer 0483c27c94
*add destroy method 2023-04-08 22:51:51 -04:00
1 changed files with 4 additions and 0 deletions

View File

@ -171,6 +171,10 @@ class Channel extends Client {
return this._created.promise as Promise<void>;
}
public destroy(error: Error) {
this._send?.({ action: "destroy", args: [error] });
}
}
class Message extends Client {