Allow a role to be automatically assigned to survey participants for a defined period of time, or until the next survey.
Dekuleplusfort
Add an option in the settings of a survey to reward users who answered the correct survey question by automatically assigning them a Discord role.
When creating the survey, in the configuration menu accessible with the ⚙️ button, there would be a new option to select:
The role to be assigned: choose an existing Discord role.
The duration of the award:
A set duration, for example 1 hour, 24 hours, 7 days, etc.
Until the next survey.
For example, if I set up the survey with the Participant role and a duration of 24 hours, each user who participates in the survey automatically receives the Participant role for 24 hours. Once the 24 hours have passed, the bot automatically removes the role.
Another option would be “Until the next survey.” In this case, the role remains assigned to the user after the end of the current survey and is automatically removed when the next survey ends.
The objective would therefore be to have a feature that allows surveys to be used as a way to temporarily reward participation, without the need to manually assign and remove roles.
This option could be entirely optional: if no role is selected in the settings, the survey works normally as it does now.