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.6 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 {
2015-04-28 17:49:11 +02:00
description = "Sendet euch ein Char aus Sakurasou no Pet na Kanojo",
usage = {"/shiina","/Shiina","/chihiro","/Chihiro","/jin","/Jin","/misaki","/Misaki","/nanami","/Nanami","/ryuunosuke","/Ryuunosuke","/sorata","/Sorata"},
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
}
--by Akamaru