cron jobs will now occur every sixty seconds. Maybe configurable

in the future.
Updated readme from manual. Manual will now be generated from
 readme.
This commit is contained in:
topkecleon
2016-02-25 09:05:08 -05:00
parent ddaf304460
commit 353d6eb807
4 changed files with 132 additions and 128 deletions

View File

@ -1117,10 +1117,7 @@ local action = function(msg) -- wee nesting
end
local cron = function()
if os.date('%M', os.time()) ~= last_admin_cron then
last_admin_cron = os.date('%M', os.time())
tg = sender(localhost, config.cli_port)
end
tg = sender(localhost, config.cli_port)
end
local command = 'groups'

View File

@ -5,7 +5,7 @@ Returns a location from Google Maps.
Alias: /loc
```]]
triggers = {
local triggers = {
'^/location[@'..bot.username..']*',
'^/loc[@'..bot.username..']* ',
'^/loc[@'..bot.username..']*$'