mcabber_bts: use "mcabber_bts" as the command and "bts" as an alias
authorMikael Berthe <mikael@lilotux.net>
Wed, 10 Nov 2010 10:29:21 +0100
changeset 46 6f8df1b79ab8
parent 45 d333cb35e79a
child 47 4b3b839c8f36
mcabber_bts: use "mcabber_bts" as the command and "bts" as an alias
mcbot/cmds/mcabber_bts.lua
--- a/mcbot/cmds/mcabber_bts.lua	Wed Nov 10 10:28:15 2010 +0100
+++ b/mcbot/cmds/mcabber_bts.lua	Wed Nov 10 10:29:21 2010 +0100
@@ -2,7 +2,7 @@
 require "libs.shcmd"
 
 local mcabber_bts = { ["desc"] = "Query mcabber (crew) BTS",
-                      ["aliases"] = { "bug", "issue" }
+                      ["aliases"] = { "bts", "bug", "issue" }
                     }
 
 local function get_issue_details (num)
@@ -58,4 +58,4 @@
     return result .. "URL: <"..tostring(issue.url)..">"
 end
 
-mcbot_register_command("bts", mcabber_bts)
+mcbot_register_command("mcabber_bts", mcabber_bts)