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:
4
Resources/Changelog/Parts/standard_vote_delay.yml
Normal file
4
Resources/Changelog/Parts/standard_vote_delay.yml
Normal file
@@ -0,0 +1,4 @@
|
||||
author: PJB
|
||||
changes:
|
||||
- type: Tweak
|
||||
message: You can now only make the same type of vote once every 4 minutes.
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user