Stats are saved on cron
This commit is contained in:
parent
22ad75c977
commit
b39ce5dd87
@ -98,7 +98,6 @@ local function run(msg, matches)
|
||||
end
|
||||
else
|
||||
update_user_stats(msg)
|
||||
save_stats()
|
||||
end
|
||||
end
|
||||
|
||||
@ -111,7 +110,8 @@ return {
|
||||
"^!(stats)",
|
||||
".*"
|
||||
},
|
||||
run = run
|
||||
run = run,
|
||||
cron = save_stats
|
||||
}
|
||||
|
||||
end
|
||||
|
Reference in New Issue
Block a user