14 lines
265 B
Lua
14 lines
265 B
Lua
|
local hello = {}
|
||
|
|
||
|
local utilities = require('otouto.utilities')
|
||
|
|
||
|
hello.triggers = {
|
||
|
"^[Ss][Aa][Gg] [Hh][Aa][Ll][Ll][Oo] [Zz][Uu] (.*)$"
|
||
|
}
|
||
|
|
||
|
function hello:action(msg, config, matches)
|
||
|
utilities.send_reply(self, msg, 'Hallo, '..matches[1]..'!')
|
||
|
end
|
||
|
|
||
|
return hello
|