protect_registered doesn't exist anymore
This commit is contained in:
parent
c4cedbe697
commit
a04a246b67
1 changed files with 2 additions and 2 deletions
|
@ -41,13 +41,13 @@ class Module(object):
|
|||
self.redeem_coins, help="Redeem free coins")
|
||||
events.on("received.command.flip").hook(self.flip,
|
||||
help="Bet coins on a coin flip", usage=
|
||||
"heads|tails <coin amount>", min_args=2, protect_registered=True)
|
||||
"heads|tails <coin amount>", min_args=2, authenticated=True)
|
||||
events.on("received.command.sendcoins").hook(
|
||||
self.send, min_args=2, help="Send coins to a user",
|
||||
usage="<nickname> <amount>", authenticated=True)
|
||||
events.on("received.command.roulette").hook(
|
||||
self.roulette, min_args=2, help="Spin the roulette wheel",
|
||||
usage="<type> <amount>", protect_registered=True)
|
||||
usage="<type> <amount>", authenticated=True)
|
||||
|
||||
now = datetime.datetime.now()
|
||||
until_next_hour = 60-now.second
|
||||
|
|
Loading…
Reference in a new issue