hello space

This commit is contained in:
yago 2014-11-22 14:42:26 +01:00
parent cbc55b0e09
commit 80af530754

View File

@ -1,12 +1,15 @@
function run(msg, matches) function run(msg, matches)
return "Hello," .. matches[1] return "Hello, " .. matches[1]
end end
return { return {
description = "Says hello to someone", description = "Says hello to someone",
usage = "say hello to [name]", usage = "say hello to [name]",
patterns = {"^say hello to (.*)$"}, patterns = {
"^say hello to (.*)$".
"^Say hello to (.*)$"
},
run = run run = run
} }