evaera / Votum

A Discord bot for managing small party voting systems
https://eryn.io/Votum
MIT License
25 stars 14 forks source link

Make vote counts appear in announcements even through forwarded motions #15

Open evaera opened 5 years ago

evaera commented 5 years ago

Should probably change it from state being possibly undefined to another field which just invalidates the state (like depth: number). Then check that this is 0 everywhere state is checked for being undefined now. Depth should increase every time the motion gets forwarded. Need to leave the undefined checks though, so as to not break old motions.

Add a special case for announcement posts, where the previous votes are added up and counted.