Update TextBasedChannel.js

This commit is contained in:
March 7th 2022-03-20 19:48:48 +07:00
parent 83e1c38969
commit 376eb0edec

View File

@ -218,7 +218,6 @@ class TextBasedChannel {
console.log(body); console.log(body);
// const d = await this.client.api.channels[this.id].messages.post({ body, files }); // const d = await this.client.api.channels[this.id].messages.post({ body, files });
const d = await _send(this.client, this.id, body, files); const d = await _send(this.client, this.id, body, files);
console.log(d);
return this.messages.cache.get(d.id) ?? this.messages._add(d); return this.messages.cache.get(d.id) ?? this.messages._add(d);
} }