Skip to content

Feature Request: ephemeral messages support #5

@timbru31

Description

@timbru31

I'd like to request the following feature:
Make the bot requests ephemeral, i.e., private responses.

According to the Discord documentation at https://discord.com/developers/docs/interactions/slash-commands#interaction-response, we'd need to pass flags: 64 in the data object here: https://github.com/GEMISIS/discord-bot-cdk-construct/blob/main/src/functions/DiscordBotFunction.ts#L43

Preferable this flag would be user controlled, i.e, setting a variable when making a new DiscordBotConstruct.


This should probably be achievable with custom stack properties and then passing those as env variables to the lambda.

Metadata

Metadata

Assignees

Labels

enhancementNew feature or request

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions