Default !lotterybuy to 1 ticket
This commit is contained in:
parent
c5b07f520e
commit
59bc75988b
1 changed files with 3 additions and 1 deletions
|
@ -446,6 +446,8 @@ class Module(ModuleManager.BaseModule):
|
||||||
:help: By ticket(s) for the lottery
|
:help: By ticket(s) for the lottery
|
||||||
:usage: [amount]
|
:usage: [amount]
|
||||||
"""
|
"""
|
||||||
|
amount = 1
|
||||||
|
if event["args_split"]:
|
||||||
amount = event["args_split"][0]
|
amount = event["args_split"][0]
|
||||||
if not amount.isdigit():
|
if not amount.isdigit():
|
||||||
event["stderr"].write("%s: Please provide a positive number "
|
event["stderr"].write("%s: Please provide a positive number "
|
||||||
|
|
Loading…
Reference in a new issue