aboutsummaryrefslogtreecommitdiff
path: root/modules
diff options
context:
space:
mode:
authorGravatar jesopo2019-10-25 14:21:47 +0100
committerGravatar jesopo2019-10-25 14:21:47 +0100
commitfce791e38bd49147c39752d7b88feb7facbd5edc (patch)
treec8a96ff887e418ed1bcf03bbd1ea32ed62a8bb9c /modules
parentAllow !vote to be restricted to voiced-and-above users (diff)
signature
Fix !startvote advice on voting on the started vote
Diffstat (limited to 'modules')
-rw-r--r--modules/vote.py5
1 files changed, 3 insertions, 2 deletions
diff --git a/modules/vote.py b/modules/vote.py
index b7bf6ec1..02e5447e 100644
--- a/modules/vote.py
+++ b/modules/vote.py
@@ -89,8 +89,9 @@ class Module(ModuleManager.BaseModule):
vote = self._start_vote(event["target"], event["args"])
event["stdout"].write(
- "Vote %s started. use '%svote <option>' to vote (options: %s)" %
- (vote["id"], event["command_prefix"], self._format_options(vote)))
+ "Vote %s started. use '%svote %s <option>' to vote (options: %s)" %
+ (vote["id"], event["command_prefix"], vote["id"],
+ self._format_options(vote)))
@utils.hook("received.command.endvote", channel_only=True, min_args=1)
def end_vote(self, event):