Fix Usage message
This commit is contained in:
parent
d7f4bc80dc
commit
3e37a39ce7
|
@ -57,10 +57,10 @@ def get_question():
|
|||
chq = q[3].format(*nums)
|
||||
return chq, cha
|
||||
|
||||
@plugin.group("minercoin","<ask/count/score/cooldown>")
|
||||
@plugin.group("minercoin","<ask/count/score/cooldown/wait>")
|
||||
def minercoin(bot,channel,nick,*args):
|
||||
if args[0] not in "ask count cooldown score".split():
|
||||
bot.say(channel,"{}: Usage: !minercoin <ask/count/cooldown>".format(nick))
|
||||
if args[0] not in "ask count cooldown score wait".split():
|
||||
bot.say(channel,"{}: Usage: !minercoin <ask/count/score/cooldown/wait>".format(nick))
|
||||
return True # only allow selected subcommands
|
||||
elif channel!="#bots":
|
||||
bot.say(channel,"{}: MinerCoin is only awarded in #bots, same as tildes!".format(nick))
|
||||
|
|
Loading…
Reference in New Issue