!lotterybuy should require authentication because it uses coins

This commit is contained in:
jesopo 2018-10-13 01:16:18 +01:00
parent bb531a6104
commit 912c693fcd

View file

@ -441,7 +441,7 @@ class Module(ModuleManager.BaseModule):
str(coins))
event["timer"].redo()
@utils.hook("received.command.lotterybuy")
@utils.hook("received.command.lotterybuy", authenticated=True)
def lottery_buy(self, event):
"""
:help: By ticket(s) for the lottery