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/aha.png.lua

13 lines
247 B
Lua
Raw Normal View History

2015-04-14 20:21:23 +02:00
function run(msg, matches)
if string.starts(msg.text, "aha.png") then
send_photo(get_receiver(msg), "pictures/aha.png", ok_cb, false)
end
end
return {
description = "Aha",
usage = "aha.png",
patterns = {"^aha.png"},
run = run
}