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

38 lines
1.7 KiB
Lua
Raw Normal View History

2015-04-14 20:21:23 +02:00
function run(msg, matches)
if string.starts(msg.text, '/shiina') or string.starts(msg.text, "/Shiina") then
send_photo(get_receiver(msg), "pictures/sakurasou/shiina.jpg", ok_cb, false)
end
2015-04-20 18:52:25 +02:00
if string.starts(msg.text, '/chihiro') or string.starts(msg.text, "/Chihiro") then
2015-04-14 20:21:23 +02:00
send_photo(get_receiver(msg), "pictures/sakurasou/chihiro.jpg", ok_cb, false)
end
2015-04-20 18:52:25 +02:00
if string.starts(msg.text, '/jin') or string.starts(msg.text, "/Jin") then
2015-04-14 20:21:23 +02:00
send_photo(get_receiver(msg), "pictures/sakurasou/jin.jpg", ok_cb, false)
end
2015-04-20 18:52:25 +02:00
if string.starts(msg.text, '/misaki') or string.starts(msg.text, "/Misaki") then
2015-04-14 20:21:23 +02:00
send_photo(get_receiver(msg), "pictures/sakurasou/misaki.jpg", ok_cb, false)
end
2015-04-20 18:52:25 +02:00
if string.starts(msg.text, '/nanami') or string.starts(msg.text, "/Nanami") then
2015-04-14 20:21:23 +02:00
send_photo(get_receiver(msg), "pictures/sakurasou/nanami.jpg", ok_cb, false)
end
2015-04-20 18:52:25 +02:00
if string.starts(msg.text, '/ryuunosuke') or string.starts(msg.text, "/Ryuunosuke") then
2015-04-14 20:21:23 +02:00
send_photo(get_receiver(msg), "pictures/sakurasou/ryuunosuke.jpg", ok_cb, false)
end
2015-04-20 18:52:25 +02:00
if string.starts(msg.text, '/sorata') or string.starts(msg.text, "/Sorata") then
2015-04-14 20:21:23 +02:00
send_photo(get_receiver(msg), "pictures/sakurasou/sorata.jpg", ok_cb, false)
end
end
return {
description = "Sendet euch ein Charakter aus Sakurasou no Pet na Kanojo",
2015-04-28 17:49:11 +02:00
usage = {"/shiina","/Shiina","/chihiro","/Chihiro","/jin","/Jin","/misaki","/Misaki","/nanami","/Nanami","/ryuunosuke","/Ryuunosuke","/sorata","/Sorata"},
2015-05-28 16:47:30 +02:00
patterns = {"^/shiina$","^/Shiina$","^/chihiro$","^/Chihiro$","^/jin$","^/Jin$","^/misaki$","^/Misaki$","^/nanami$","^/Nanami$","^/ryuunosuke$","^/Ryuunosuke$","^/sorata$","^/Sorata$"},
2015-04-14 20:21:23 +02:00
run = run
2015-04-20 18:52:25 +02:00
}
2015-05-22 17:01:33 +02:00
--by Akamaru [https://ponywave.de]