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

13 lines
203 B
Lua
Raw Normal View History

local hallo = {}
hallo.triggers = {
"^[Hh][Aa][Ll][Ll][Oo]"
}
function hallo:action(msg, config)
local name = msg.from.first_name
2016-08-24 17:18:17 +02:00
utilities.send_reply(msg, 'Hallo '..name..'!')
end
return hallo