This commit is contained in:
Skillz4Killz
2022-03-16 02:00:10 +00:00
committed by GitHub
parent 6fe5e0b8fd
commit 2a84ac982e
10 changed files with 50 additions and 40 deletions
@@ -25,15 +25,15 @@ However, you probably want to use something shorter, such as the following:
```js
class Channel {
constructor(client, data) {
this.client = client;
this.id = data.id;
this.name = data.name;
}
constructor(client, data) {
this.client = client;
this.id = data.id;
this.name = data.name;
}
async send(options) {
return await client.helpers.sendMessage(this.id, options);
}
async send(options) {
return await client.helpers.sendMessage(this.id, options);
}
}
```