Closed samyakshah3008 closed 1 year ago
This PR is successfully implementing the Enhancement: Ephemeral response message with token on use of /verify command.
/verify
User was getting a discord DM with token upon use of /verify command.
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
Now, user is getting Ephemeral message with token on use of /verify command.
Yes, tested on local with my server and also by publishing on cloudflare.
https://discord.com/developers/docs/resources/channel#create-message 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
This PR closes Issue ticket #50
Description:
This PR is successfully implementing the Enhancement: Ephemeral response message with token on use of
/verify
command.Previous behavior:
User was getting a discord DM with token upon use of
/verify
command.Requirement:
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
Enhanced behavior:
Now, user is getting Ephemeral message with token on use of
/verify
command.Is this Enhancement tested?
Yes, tested on local with my server and also by publishing on cloudflare.
References
https://discord.com/developers/docs/resources/channel#create-message 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