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/ping.lua
Javier Honduvilla Coto 7410ee1d8f moar style changes
2014-12-14 22:00:07 +01:00

13 lines
236 B
Lua

function run(msg, matches)
local receiver = get_receiver(msg)
print('receiver: '..receiver)
return "pong"
end
return {
description = "bot sends pong",
usage = "!ping",
patterns = {"^!ping$"},
run = run
}