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/nyu.lua
2015-04-14 20:21:23 +02:00

17 lines
287 B
Lua

function run(msg, matches)
if string.starts(msg.text, 'nyu') or string.starts(msg.text, 'Nyu') then
send_photo(get_receiver(msg), "pictures/nyu.jpg", ok_cb, false)
end
end
return {
description = "Nyu?",
usage = "nyu",
patterns = {"^nyu",
"^Nyu"},
run = run
}