This repository has been archived on 2021-04-24. You can view files and clone it, but cannot push or open issues or pull requests.
2015-11-12 17:42:03 +01:00
|
|
|
local function run(msg, matches)
|
|
|
|
local res,code = http.request(matches[1]..'.txt')
|
|
|
|
if code ~= 200 then return nil end
|
|
|
|
return res
|
|
|
|
end
|
|
|
|
|
|
|
|
|
|
|
|
return {
|
|
|
|
description = "",
|
|
|
|
usage = "",
|
2016-01-11 19:39:19 +01:00
|
|
|
patterns = {"^https?://(.*).txt$"},
|
2015-11-12 17:42:03 +01:00
|
|
|
run = run
|
|
|
|
}
|