Closed Adman closed 9 years ago
to @mrshu @pepol @JakubNvk
@Adman Thanks a lot for this. I only have three questions, apart from those rised above.
punishment
I'd probably call it a result
because that's what the output of a vote is after all (at least so I believe).voting
and voting_q
, in my book it would be far better to have some enumerated constants at the top of the file and then having just voting
which would either be of the value VOTING_NONE
or VOTING_YESNO
or VOTING_QUESTION
and so on and so on.!yes
and !no
methods would deal with that by taking an argument which would uniquely identify a voting. If you decide to go this way it would be also good to have a way od listing a voting by this unique identifier.@mrshu Everything what you mentioned should be done.
@Adman cool, thanks!
The only thing I have is that the penalty
is no longer just penalty.
If this looks good to @pepol I think we can merge this.
@Adman of course, it needs to be squashed first.
@Adman, apart from that one question, LGTM. Did you test this?
@mrshu Not sure what you mean that penalty is no longer penalty @pepol yep
@Adman sorry, I must have misinterpreted something, feel free to scratch my comment.
Commits squashed
@mrshu Time in votekick, voteban, votemute, votekickban is now configurable
@Adman still a couple of questions, mostly nitpicks.
@Adman if you are OK with the current state and merging this won't break @pepol's heart I believe we can proceed.
@mrshu I will let you know tomorrow. Going to deeply think whether I'm able to refactorize yesses/nos
@mrshu my heart was broken long ago, don't worry about that :-D
@Adman any progress?
@mrshu yes, kinda refactored
@mrshu @pepol if it's okay, I can squash commits
@Adman a couple of nitpicks from me, other than that it looks good.
Let's see what @pepol has to say about this before you squash those commits.
@Adman fix those issues @mrshu pointed out and let's squash them, break their shields, their bones, keep them together, failed at the battlefield. :-D
@mrshu @pepol done, squshed
@Adman nah, let's go with it.
Signed-off-by: Adrian Matejov a.matejov@centrum.sk