You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hmm... this will need to have some design considerations I think, as there will likely be some commands that you want to be ephemeral and some that you do not. I'll take a look into how this can be done.
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 thedata
object here: https://github.com/GEMISIS/discord-bot-cdk-construct/blob/main/src/functions/DiscordBotFunction.ts#L43Preferable 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.
The text was updated successfully, but these errors were encountered: