Skip to content

Discord: Add Ephemeral Support #515

@DeanMauro

Description

@DeanMauro

Problem Statement

Discord supports ephemerality. The Chat SDK has a framework for ephemerality. Let's implement it.

Proposed Solution

See #514

Alternatives Considered

Considered having postEphemeral() delete the initial loading state message and post its own follow up with the ephemeral flag set. It does work but when the loading state message flickers out of view quickly, it looks so hacky.

Also considered a top-level ephemeral: boolean config to set all messages either public or ephemeral. This is too restrictive though. Users should be able to host a combination of public and ephemeral commands simultaneously.

Use Case

Have chatbots send messages only the user can see directly in a channel.

Image

Priority

Important

Contribution

  • I am willing to help implement this feature

Additional Context

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions