Fix wrong method of referencing server in timer callback
This commit is contained in:
parent
67e030155d
commit
4502256263
1 changed files with 1 additions and 1 deletions
|
@ -132,7 +132,7 @@ class Module(object):
|
|||
|
||||
def interest(self, event):
|
||||
for server in self.bot.servers.values():
|
||||
all_coins = event["server"].get_all_user_settings(
|
||||
all_coins = server.get_all_user_settings(
|
||||
"coins", [])
|
||||
interest_rate = event["server"].get_setting("interest-rate",
|
||||
DEFAULT_INTEREST_RATE)
|
||||
|
|
Loading…
Reference in a new issue