You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
28 lines
507 B
28 lines
507 B
log("inicia botbunny_inicio")
|
|
|
|
local function log_print(message)
|
|
log(message)
|
|
print(message)
|
|
end
|
|
|
|
local function log_error(message)
|
|
log(message)
|
|
error(message)
|
|
end
|
|
|
|
local err
|
|
local json = require("json")
|
|
local obj, err = json.decode(json_payload)
|
|
|
|
if err then
|
|
log_error("Decoding error" .. err)
|
|
end
|
|
|
|
log_print("Por abrir pagina de loading")
|
|
err = navigate("https://www.bot-bunny.com/loading")
|
|
if err then
|
|
log_error("navigate error" .. err)
|
|
end
|
|
log_print("durmiendo por 5 segundos")
|
|
waitSecs(5)
|
|
|
|
|