equal
deleted
inserted
replaced
1 |
1 |
2 require "libs.shcmd" |
2 require "libs.shcmd" |
3 |
3 |
4 local mcabber_bts = { ["desc"] = "Query mcabber (crew) BTS", |
4 local mcabber_bts = { ["desc"] = "Query mcabber (crew) BTS", |
5 ["aliases"] = { "bug", "issue" } |
5 ["aliases"] = { "bts", "bug", "issue" } |
6 } |
6 } |
7 |
7 |
8 local function get_issue_details (num) |
8 local function get_issue_details (num) |
9 local item |
9 local item |
10 |
10 |
56 result = result .. "Type: " .. issue.type .. "\n" |
56 result = result .. "Type: " .. issue.type .. "\n" |
57 end |
57 end |
58 return result .. "URL: <"..tostring(issue.url)..">" |
58 return result .. "URL: <"..tostring(issue.url)..">" |
59 end |
59 end |
60 |
60 |
61 mcbot_register_command("bts", mcabber_bts) |
61 mcbot_register_command("mcabber_bts", mcabber_bts) |