Real-Dev-Squad / discord-slash-commands

MIT License
5 stars 33 forks source link

Send Ephemeral message while using /verify command #50

Closed samyakshah3008 closed 1 year ago

samyakshah3008 commented 1 year ago

Current Behavior: User is getting discord DM as sendDiscordDM function is getting called.

Problem Statement: We need to be more confidential and send an Ephemeral message to user which will have a token. Ephemeral message will be automatically deleted after sometime. https://support.discord.com/hc/en-us/articles/1500000580222-Ephemeral-Messages-FAQ#:~:text=An%20%22Ephemeral%20Message%22%20is%20a,long%20enough%2C%20or%20restart%20Discord

Potential Solution: Send an Ephemeral message upon use of /verify command.

References to implement this feature: https://discord.com/developers/docs/change-log#changes-to-slash-command-response-types-and-flags https://discord.com/developers/docs/resources/channel#message-object-message-flags https://stackoverflow.com/questions/72635363/how-to-send-ephemeral-messages-in-discord-js

samyakshah3008 commented 1 year ago

@RitikJaiswal75 Can you please assign me this issue?