You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Which application or package is this feature request for?
discord.js
Feature
According to the API documentation, the Edit Original Interaction Response endpoint supports the same options as the Edit Webhook Message endpoint. If that is true, that means it should currently support editing embeds in the original interaction response.
However, InteractionEditReplyOptions doesn't currently allow for embeds, only attachments (InteractionReplyOptions allows for embeds). Attempting to pass a list of embeds with the options or attempting to pass the embed directly to the method results in exceptions.
I'm not currently working with Webhooks directly, but glancing at the documentation for discord.js it looks as though they might have the same issue?
Ideal solution or implementation
It would be great if embed editing was added to editReply, much like it's already possible for regular Messages.
I think this should be accomplished by adding an "embeds" field to InteractionEditReplyOptions, which would function as it does in the other methods that take a list of embeds.
Alternative solutions or implementations
No response
Other context
No response
The text was updated successfully, but these errors were encountered:
However, InteractionEditReplyOptions doesn't currently allow for embeds, only attachments (InteractionReplyOptions allows for embeds). Attempting to pass a list of embeds with the options or attempting to pass the embed directly to the method results in exceptions.
Sorry, I thought this was a feature request. You're right, there was a mistake in the code. This new documentation is quite difficult to parse and I didn't spot the embeds option several levels down.
Which application or package is this feature request for?
discord.js
Feature
According to the API documentation, the Edit Original Interaction Response endpoint supports the same options as the Edit Webhook Message endpoint. If that is true, that means it should currently support editing embeds in the original interaction response.
However, InteractionEditReplyOptions doesn't currently allow for embeds, only attachments (InteractionReplyOptions allows for embeds). Attempting to pass a list of embeds with the options or attempting to pass the embed directly to the method results in exceptions.
I'm not currently working with Webhooks directly, but glancing at the documentation for discord.js it looks as though they might have the same issue?
Ideal solution or implementation
It would be great if embed editing was added to editReply, much like it's already possible for regular Messages.
I think this should be accomplished by adding an "embeds" field to InteractionEditReplyOptions, which would function as it does in the other methods that take a list of embeds.
Alternative solutions or implementations
No response
Other context
No response
The text was updated successfully, but these errors were encountered: