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
Andreas Bielawski 7025498768 Geportet:
- Cowsay
- Hallo!
- Hdf
- Insider
Fehlendes \n in der Hilfe von "me" gefixt
2016-08-17 17:48:11 +02:00

13 lines
209 B
Lua

local hallo = {}
hallo.triggers = {
"^[Hh][Aa][Ll][Ll][Oo]"
}
function hallo:action(msg, config)
local name = msg.from.first_name
utilities.send_reply(self, msg, 'Hallo '..name..'!')
end
return hallo