Fix MessageEdit
Know: Webhook Edit error
This commit is contained in:
@@ -215,7 +215,6 @@ class TextBasedChannel {
|
||||
}
|
||||
|
||||
const { body, files } = await messagePayload.resolveFiles();
|
||||
console.log(body);
|
||||
// const d = await this.client.api.channels[this.id].messages.post({ body, files });
|
||||
const d = await _send(this.client, this.id, body, files);
|
||||
return this.messages.cache.get(d.id) ?? this.messages._add(d);
|
||||
|
Reference in New Issue
Block a user