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.
Priority
Important
Contribution
Additional Context
No response
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: booleanconfig 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.
Priority
Important
Contribution
Additional Context
No response