Closed heliomar-pena closed 2 weeks ago
Currently the bot start a new votation with /vote-points
.
Investigation:
It is possible using the Event MessagePollVoteAdd, but seems like you have to set up the bot permissions properly to make it work
@addPoint @user
in 5 messagesIt is possible sending multiple messages, about the user that will be mentioned I think the easiest way is to fetch the thread main message description and get it with a regexp, other option is to pass it in the /vote-points command and then save it in the votation message, so you can only take it
Better way is to move it to the .envs or a config file, .envs sounds more adecuate
Also should be moved to .env file
Completed with investigation for further steps
Explanation
The bot should be listening to a command
/vote-points
.When this command is called the bot should start a discord native poll with the title: "¿Cuantos puntos de esfuerzo le pondrías a esta tarea?", and should have 8 options: 1, 2, 3, 4, 5, 6, 7, 8 .
It should also change the icon on the thread's title to an abacus: 🧮, so other users can see that in this thread is a poll in progress.
Screenshots
Checklist
This issue can be closed when the following tasks are complete:
/vote-points
Blocked by