17 lines
298 B
Lua
17 lines
298 B
Lua
|
|
function run(msg, matches)
|
|
local ret = ""
|
|
for k, dict in pairs(plugins) do
|
|
ret = ret .. dict.usage .. " -> " .. dict.description .. "\n"
|
|
end
|
|
return ret
|
|
end
|
|
|
|
return {
|
|
description = "Lists all available commands",
|
|
usage = "!help",
|
|
patterns = {"^!help$"},
|
|
run = run
|
|
}
|
|
|