mirror of
https://github.com/discordjs/discord.js.git
synced 2026-03-19 13:03: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}
|
* @returns {MessagePayload}
|
||||||
*/
|
*/
|
||||||
resolveBody() {
|
resolveBody() {
|
||||||
if (this.data) return this;
|
if (this.body) return this;
|
||||||
const isInteraction = this.isInteraction;
|
const isInteraction = this.isInteraction;
|
||||||
const isWebhook = this.isWebhook;
|
const isWebhook = this.isWebhook;
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user