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:
@ -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'
|
||||
|
@ -5,7 +5,7 @@ Returns a location from Google Maps.
|
||||
Alias: /loc
|
||||
```]]
|
||||
|
||||
triggers = {
|
||||
local triggers = {
|
||||
'^/location[@'..bot.username..']*',
|
||||
'^/loc[@'..bot.username..']* ',
|
||||
'^/loc[@'..bot.username..']*$'
|
||||
|
Reference in New Issue
Block a user