db now saves every minute. Will make it configurable in future.

This commit is contained in:
topkecleon
2016-02-22 18:07:16 -05:00
parent 64160e700c
commit 971b27335b
2 changed files with 8 additions and 3 deletions

View File

@@ -9,7 +9,7 @@ local action = function(msg)
return
end
if msg.date < os.time() - 1 then return end
if msg.date < os.time() then return end
if msg.text:match('^/reload') then
bot_init()