mirror of
https://github.com/discordjs/discord.js.git
synced 2026-03-16 11:33:30 +01:00
fix: don't auth for interaction showModal() (#9046)
Co-authored-by: space <spaceeec@yahoo.com>
This commit is contained in:
@@ -255,6 +255,7 @@ class InteractionResponses {
|
|||||||
type: InteractionResponseType.Modal,
|
type: InteractionResponseType.Modal,
|
||||||
data: isJSONEncodable(modal) ? modal.toJSON() : this.client.options.jsonTransformer(modal),
|
data: isJSONEncodable(modal) ? modal.toJSON() : this.client.options.jsonTransformer(modal),
|
||||||
},
|
},
|
||||||
|
auth: false,
|
||||||
});
|
});
|
||||||
this.replied = true;
|
this.replied = true;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user