fsu-fall2022-capstone / Project-Group-5

A discord bot that connects to the online game nationstates
1 stars 0 forks source link

Setup a dropdown view that responds after a timer #18

Closed CoderJoshDK closed 1 year ago

CoderJoshDK commented 1 year ago

Voting and polling for issues!

An issue comes in and has multiple options. They range from [-1,x] where x is the last option. Options start at index 0. Index -1 means we are dropping the issue and ignoring it. A table will need to be created to store the data. The timer is held in a config table.

Example proof of concept

example dropdown

Keeping track of votes

The message people are voting on has a unique id. That id will be the key for the table. All rows with that key are counted for that vote

ID USER_ID OPTION
BIGINT BIGINT INT