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/hallo.lua

16 lines
280 B
Lua
Raw Normal View History

2015-04-14 20:21:23 +02:00
function run(msg, matches)
local user_name = get_name(msg)
local receiver = get_receiver(msg)
return "Hallo " .. user_name .. "!"
end
return {
description = "Sagt hallo zu euch",
usage = "hallo",
patterns = {
"^Hallo(.*)$",
"^hallo(.*)$"
},
run = run
}