aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGravatar jesopo2019-06-17 18:08:02 +0100
committerGravatar jesopo2019-06-17 18:08:02 +0100
commit7df8082e722f7b36fe6d2f02a2d13ecf2ed020cf (patch)
tree2996e6dfe59a6dc87dcef482a0fb83db8447ac6d
parentMake sure new random ids are unique (diff)
signature
Update help/usage strings for vote.py
-rw-r--r--modules/vote.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/modules/vote.py b/modules/vote.py
index 22e2aa91..728c1bd5 100644
--- a/modules/vote.py
+++ b/modules/vote.py
@@ -59,7 +59,7 @@ class Module(ModuleManager.BaseModule):
@utils.hook("received.command.startvote", channel_only=True, min_args=1)
def start_vote(self, event):
"""
- :help: Start a yes/no vote
+ :help: Start a vote
:usage: <description>
:require_mode: o
:permission: vote
@@ -72,7 +72,7 @@ class Module(ModuleManager.BaseModule):
@utils.hook("received.command.endvote", channel_only=True, min_args=1)
def end_vote(self, event):
"""
- :help: End the current yes/no vote
+ :help: End a vote
:usage: <id>
:require_mode: o
:permission: vote
@@ -90,7 +90,7 @@ class Module(ModuleManager.BaseModule):
def vote(self, event):
"""
:help: Vote in the channel's current vote
- :usage: <id> yes|no
+ :usage: <id> [choice]
"""
vote_id = event["args_split"][0]
vote = self._get_vote(event["target"], vote_id)