Fix Usage message

This commit is contained in:
minerobber 2019-02-04 20:19:41 +00:00
parent d7f4bc80dc
commit 3e37a39ce7
1 changed files with 3 additions and 3 deletions

View File

@ -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))