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/barusamikosu.lua

15 lines
428 B
Lua
Raw Normal View History

2015-04-14 20:21:23 +02:00
function run(msg, matches)
if string.starts(msg.text, '/barusamiko') or string.starts(msg.text, "/barusamikosu") or string.starts(msg.text, "/Balsamiko Essig") then
send_photo(get_receiver(msg), "pictures/luckystar/barusamikosu.jpg", ok_cb, false)
end
end
return {
description = "Balsamiko Essig!",
usage = "/barusamiko",
patterns = {"^/barusamiko",
"^/barusamikosu",
"^/Balsamiko Essig"},
run = run
}