# duplicate options
return Action(msg="No duplicate options.")
vote_duration = self.vote_duration if not vote_duration else vote_duration
+ vote_duration = min(self.max_vote_duration, max(30, vote_duration))
# setup new poll
poll = Poll(options, {}, now + vote_duration)
# check prior results
# setup timeout to disable poll and present results
bot_nick = conf_get("bot_nickname")
-
poll_message = (f"**New Vote:** {sender} started a vote! "
f"Vote within {vote_duration}s "
f"(reply with '{bot_nick}: vote A/B/foo' within {vote_duration}s)"