mirror of
https://github.com/danbulant/discord.js
synced 2026-05-27 22:11:53 +00:00
Don't send files in edit request (#2199)
This commit is contained in:
parent
4063a3a16b
commit
59d5c5a947
1 changed files with 2 additions and 2 deletions
|
|
@ -377,10 +377,10 @@ class Message extends Base {
|
|||
}
|
||||
if (!options.content) options.content = content;
|
||||
|
||||
const { data, files } = await createMessage(this, options);
|
||||
const { data } = await createMessage(this, options);
|
||||
|
||||
return this.client.api.channels[this.channel.id].messages[this.id]
|
||||
.patch({ data, files })
|
||||
.patch({ data })
|
||||
.then(d => {
|
||||
const clone = this._clone();
|
||||
clone._patch(d);
|
||||
|
|
|
|||
Loading…
Reference in a new issue