TinkerStorm / interaction-prototypes

A Discord interaction prototype preparing to lay the foundations of a game service.
https://discord.gg/z5DPVHNBuw
GNU General Public License v3.0
2 stars 0 forks source link

feat: vote abstention (attempt 2) #35

Closed sudojunior closed 1 year ago

sudojunior commented 1 year ago

This PR extends from #24 for the purposes of a refined control flow within and around the state management of a vote.

Deselecting is handled locally, but refreshing the channel will reset the state - so it may be worth embedding the component in an ephemeral context like what Turbo Eureka is able to handle for 'default' selection.

This will close #33 once an adequate 'hint' is provided for handling vote withdrawal (or to return to abstention).

This PR was not rebased back in June, which is causing the default merge behaviour to fail.