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/plugins/ping.lua
topkecleon 80f363de44 markdown support in messages
other changes & improvements
2015-12-05 09:30:52 -05:00

15 lines
213 B
Lua

-- Actually the simplest plugin ever!
local triggers = {
'^/ping[@'..bot.username..']*'
}
local action = function(msg)
sendMessage(msg.chat.id, 'Pong!')
end
return {
action = action,
triggers = triggers
}