*add destroy method

This commit is contained in:
Derrick Hammer 2023-04-08 22:56:07 -04:00
parent 10ad05f1da
commit b2aa51d8de
Signed by: pcfreak30
GPG Key ID: C997C339BE476FF2
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 {