When a user clicks on an interaction message in Discord, the request is sent to our server endpoint. Using the Discord ID that we already have, the endpoint generates a unique, private form link that bypasses the login process and is sent only to the user.
Requirements:
- Endpoint Creation:
Develop a server endpoint that receives the interaction request along with a formID parameter.
- Link Generation:
Combine the user's Discord ID and the formID to generate a unique, secure link associated with
that specific form.
- Response Delivery:
Return the private, form-specific link to the user via an ephemeral Discord message.
When a user clicks on an interaction message in Discord, the request is sent to our server endpoint. Using the Discord ID that we already have, the endpoint generates a unique, private form link that bypasses the login process and is sent only to the user.
Requirements:
Develop a server endpoint that receives the interaction request along with a formID parameter.
Combine the user's Discord ID and the formID to generate a unique, secure link associated with
that specific form.
Return the private, form-specific link to the user via an ephemeral Discord message.