Vote command

After you have finished a game you will want to call a vote to get everyones opinions on who is the mafia. This bot sends a message out and you react with the representative emoji to who you think the mafia is. After 20 seconds or if everyone has voted, the bot stops accepting votes and then messages the results to the channel. It then calcualtes scores which you can check with mafia score (for global stats on your points send mafia stats to the #mafia-bot channel).

For this to work correctly you must specify the team that won the game.

Example

For blue team win: mafia vote 1 mafia vote blue mafia vote b

For orange team win: mafia vote 2 mafia vote orange mafia vote b

vote example