Fix !startvote advice on voting on the started vote
This commit is contained in:
parent
b23cc1e1bd
commit
fce791e38b
1 changed files with 3 additions and 2 deletions
|
@ -89,8 +89,9 @@ class Module(ModuleManager.BaseModule):
|
||||||
|
|
||||||
vote = self._start_vote(event["target"], event["args"])
|
vote = self._start_vote(event["target"], event["args"])
|
||||||
event["stdout"].write(
|
event["stdout"].write(
|
||||||
"Vote %s started. use '%svote <option>' to vote (options: %s)" %
|
"Vote %s started. use '%svote %s <option>' to vote (options: %s)" %
|
||||||
(vote["id"], event["command_prefix"], self._format_options(vote)))
|
(vote["id"], event["command_prefix"], vote["id"],
|
||||||
|
self._format_options(vote)))
|
||||||
|
|
||||||
@utils.hook("received.command.endvote", channel_only=True, min_args=1)
|
@utils.hook("received.command.endvote", channel_only=True, min_args=1)
|
||||||
def end_vote(self, event):
|
def end_vote(self, event):
|
||||||
|
|
Loading…
Reference in a new issue