Format time

This commit is contained in:
dave 2016-11-06 23:35:35 +00:00
parent 6df801c11e
commit ac73206ec0
1 changed files with 1 additions and 1 deletions

View File

@ -85,7 +85,7 @@ class ElectionGame:
if sum([len(i) for i in self.votes.values()]) > 0:
self.cooldown_timer = Timer(self.cooldown_length_s, self.start_election)
self.cooldown_timer.start()
self.bot.act_PRIVMSG(self.channel, "Next election starts in: {}s".format(self.cooldown_length_s))
self.bot.act_PRIVMSG(self.channel, "Next election starts in: {}s".format(self.format_seconds(self.cooldown_length_s)))
else:
self.state = game_phases.halted