mirror of
https://github.com/discordjs/discord.js.git
synced 2026-03-11 17:13:31 +01:00
fix(MessagePayload): resolveBody check body instead of data (#7738)
This commit is contained in:
@@ -116,7 +116,7 @@ class MessagePayload {
|
||||
* @returns {MessagePayload}
|
||||
*/
|
||||
resolveBody() {
|
||||
if (this.data) return this;
|
||||
if (this.body) return this;
|
||||
const isInteraction = this.isInteraction;
|
||||
const isWebhook = this.isWebhook;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user