Disable coin interest by default (coins.py)
This commit is contained in:
parent
96f6be087a
commit
e45b72356c
1 changed files with 2 additions and 0 deletions
|
@ -438,6 +438,8 @@ class Module(ModuleManager.BaseModule):
|
|||
@utils.hook("timer.coin-interest")
|
||||
def interest(self, event):
|
||||
for server in self.bot.servers.values():
|
||||
if not server.get_value("coin-interest", False):
|
||||
continue
|
||||
all_coins = self._all_coins(server)
|
||||
|
||||
interest_rate = decimal.Decimal(server.get_setting(
|
||||
|
|
Loading…
Reference in a new issue