Created
October 3, 2016 15:18
-
-
Save TiagoDanin/d88299795fb755b33aef3836b1570c29 to your computer and use it in GitHub Desktop.
Testing lanes in GroupButler
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
local triggers = { | |
config.cmd..'test (.*)' | |
} | |
local function lanes_test(check) | |
local n = 0 | |
while check do | |
n = n + 1 | |
print(check) | |
end | |
return true | |
end | |
local function onmessage(msg) | |
return true | |
end | |
local action = function(msg, blocks) | |
api.sendMessage(msg.chat.id, "OK...", true) | |
print(_(URL.escape('&*##'))) -- test libs | |
lanes_test(blocks[1]) -- loop | |
end | |
return { | |
action = action, | |
triggers = triggers, | |
onmessage = false, | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment