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.
Mikubot/plugins/hello.lua
2014-11-04 22:06:59 +01:00

13 lines
212 B
Lua

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