do
local function chuck()
local random = http.request("http://api.icndb.com/jokes/random")
local decode = json:decode(random)
local joke = decode.value.joke
return joke
end
local function run(msg)
local joke = chuck()
return unescape_html(joke)
return {
description = "Sendet Chuck Norris Witze (Englisch)",
usage = {"#cn"},
patterns = {"^#[Cc][Nn]$"},
run = run
}