diff options
| author | 2018-09-28 16:51:36 +0100 | |
|---|---|---|
| committer | 2018-09-28 16:51:36 +0100 | |
| commit | a8bf3c93007503ec411d0d23fef021f386127fa5 (patch) | |
| tree | 4aa2c0d367606bd4c5e9ff3a0dda75a59267beb3 /modules/coins.py | |
| parent | Fix typo in database_backup.py, 'ocation' -> 'location' (diff) | |
| signature | ||
Remove cyclical references to IRCBot
Diffstat (limited to 'modules/coins.py')
| -rw-r--r-- | modules/coins.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/modules/coins.py b/modules/coins.py index 5ec1c728..86c334e2 100644 --- a/modules/coins.py +++ b/modules/coins.py @@ -33,8 +33,8 @@ class Module(object): until_next_hour = 60-now.second until_next_hour += ((60-(now.minute+1))*60) - bot.add_timer("coin-interest", INTEREST_INTERVAL, persist=False, - next_due=time.time()+until_next_hour) + bot.timers.add("coin-interest", INTEREST_INTERVAL, + time.time()+until_next_hour) @Utils.hook("received.command.coins") def coins(self, event): |
