Skip to content

Commit 0ea7a73

Browse files
committed
Votes shouldn't always succeed now.. (unless you're a dictator)
1 parent dac6498 commit 0ea7a73

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Core/Commands/DefaultCommands.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -559,7 +559,7 @@ def vote(bot, event, set_vote=None, *args):
559559
if vote_result != 0:
560560
bot.send_message(event.conv,
561561
'In the matter of: "' + UtilBot.get_vote_subject(event.conv_id) + '", the ' + (
562-
'Yeas' if vote_result else 'Nays') + ' have it.')
562+
'Yeas' if vote_result > 0 else 'Nays') + ' have it.')
563563
else:
564564
bot.send_message(event.conv, "The vote ended in a tie in the matter of: {}".format(
565565
UtilBot.get_vote_subject(event.conv_id)))

0 commit comments

Comments
 (0)