Vote type delay, code comments.

Added doc comments to server side voting API.
There is now a 4 minute delay between creating votes of the same type.
Shuffled some code around.
Made a StandardVoteType enum instead of string IDs.
This commit is contained in:
Pieter-Jan Briers
2021-07-21 19:03:10 +02:00
parent 1187185b89
commit e9af56c7c3
13 changed files with 348 additions and 49 deletions

View File

@@ -7,10 +7,13 @@ ui-vote-create-title = Call Vote
# Submit button in the vote create button
ui-vote-create-button = Call Vote
# Timeout text if a standard vote type is currently on timeout.
ui-vote-type-timeout = This vote was called too recently ({$remaining})
# Hue hue hue
ui-vote-fluff = Powered by Robust™ Anti-Tamper Technology
## Vote menu command
ui-vote-menu-command-description = Opens the voting menu
ui-vote-menu-command-help-text = Usage: votemenu
ui-vote-menu-command-help-text = Usage: votemenu