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
291 B
Lua

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
}
--by Akamaru