From a04a246b6755185dc150d45f80527f68691ca7a4 Mon Sep 17 00:00:00 2001 From: jesopo Date: Wed, 5 Sep 2018 13:36:07 +0100 Subject: [PATCH] protect_registered doesn't exist anymore --- modules/coins.py | 4 ++-- 1 file 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 ", min_args=2, protect_registered=True) + "heads|tails ", min_args=2, authenticated=True) events.on("received.command.sendcoins").hook( self.send, min_args=2, help="Send coins to a user", usage=" ", authenticated=True) events.on("received.command.roulette").hook( self.roulette, min_args=2, help="Spin the roulette wheel", - usage=" ", protect_registered=True) + usage=" ", authenticated=True) now = datetime.datetime.now() until_next_hour = 60-now.second