Skip to content

DeferredResponse ignores ActionRow and Empherical #49

Description

@EthanC

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
        ),
    )

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions