When attempting to send a DeferredResponse, certain components of the new_message DiscordResponse are ignored. In my experience, both action_row and empherical do not function.
Example:
@interactions.on("example")
async def ExampleCommand(ctx: IncomingDiscordInteraction) -> DeferredResponse:
"""Example command demonstrating DeferredResponse ignoring action_row and empherical."""
await bot.send_deferred_message(
original_context=ctx,
new_message=DiscordResponse(
content="This part works",
action_row=ActionRow(
components=[
LinkButton(
label="This does not work",
url="https://github.com/ms7m/dispike",
)
]
),
empherical=True
),
)
When attempting to send a
DeferredResponse, certain components of thenew_messageDiscordResponseare ignored. In my experience, bothaction_rowandemphericaldo not function.Example: