aboutsummaryrefslogtreecommitdiff
path: root/modules
diff options
context:
space:
mode:
authorGravatar jesopo2018-09-05 13:36:07 +0100
committerGravatar jesopo2018-09-05 13:36:07 +0100
commita04a246b6755185dc150d45f80527f68691ca7a4 (patch)
tree23faa189bce7728428aaadab1c4012ce89b226f4 /modules
parentChange more user.id references to get_id() (diff)
signature
protect_registered doesn't exist anymore
Diffstat (limited to 'modules')
-rw-r--r--modules/coins.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/modules/coins.py b/modules/coins.py
index c5c11d99..fbdceb77 100644
--- a/modules/coins.py
+++ b/modules/coins.py
@@ -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