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

50 lines
2.4 KiB
Lua
Raw Normal View History

2015-04-14 20:21:23 +02:00
function run(msg, matches)
if string.starts(msg.text, '/asuka') or string.starts(msg.text, "/Asuka") then
send_photo(get_receiver(msg), "pictures/senrankagura/hanzouacademy/asuka.jpg", ok_cb, false)
end
2015-04-20 18:52:25 +02:00
if string.starts(msg.text, '/hibari') or string.starts(msg.text, "/Hibari") then
2015-04-14 20:21:23 +02:00
send_photo(get_receiver(msg), "pictures/senrankagura/hanzouacademy/hibari.jpg", ok_cb, false)
end
2015-04-20 18:52:25 +02:00
if string.starts(msg.text, '/ikaruga') or string.starts(msg.text, "/Ikaruga") then
2015-04-14 20:21:23 +02:00
send_photo(get_receiver(msg), "pictures/senrankagura/hanzouacademy/ikaruga.jpg", ok_cb, false)
end
2015-04-20 18:52:25 +02:00
if string.starts(msg.text, '/katsuragi') or string.starts(msg.text, "/Katsuragi") then
2015-04-14 20:21:23 +02:00
send_photo(get_receiver(msg), "pictures/senrankagura/hanzouacademy/katsuragi.jpg", ok_cb, false)
end
2015-04-20 18:52:25 +02:00
if string.starts(msg.text, '/yagyuu') or string.starts(msg.text, "/Yagyuu") then
2015-04-14 20:21:23 +02:00
send_photo(get_receiver(msg), "pictures/senrankagura/hanzouacademy/yagyuu.jpg", ok_cb, false)
end
2015-04-20 18:52:25 +02:00
if string.starts(msg.text, '/haruka') or string.starts(msg.text, "/Haruka") then
2015-04-14 20:21:23 +02:00
send_photo(get_receiver(msg), "pictures/senrankagura/hebijoacademy/haruka.jpg", ok_cb, false)
end
2015-04-20 18:52:25 +02:00
if string.starts(msg.text, '/hikage') or string.starts(msg.text, "/Hikage") then
2015-04-14 20:21:23 +02:00
send_photo(get_receiver(msg), "pictures/senrankagura/hebijoacademy/hikage.jpg", ok_cb, false)
end
2015-04-20 18:52:25 +02:00
if string.starts(msg.text, '/homura') or string.starts(msg.text, "/Homura") then
2015-04-14 20:21:23 +02:00
send_photo(get_receiver(msg), "pictures/senrankagura/hebijoacademy/homura.jpg", ok_cb, false)
end
2015-04-20 18:52:25 +02:00
if string.starts(msg.text, '/mirai') or string.starts(msg.text, "/Mirai") then
2015-04-14 20:21:23 +02:00
send_photo(get_receiver(msg), "pictures/senrankagura/hebijoacademy/mirai.jpg", ok_cb, false)
end
2015-04-20 18:52:25 +02:00
if string.starts(msg.text, '/yomi') or string.starts(msg.text, "/Yomi") then
2015-04-14 20:21:23 +02:00
send_photo(get_receiver(msg), "pictures/senrankagura/hebijoacademy/yomi.jpg", ok_cb, false)
end
end
return {
2015-04-28 17:49:11 +02:00
description = "Sendet euch ein Senran Kagura Char",
usage = {"/asuka","/Asuka","/hibari","/Hibari","/ikaruga","/Ikaruga","/katsuragi","/Katsuragi","/yagyuu","/Yagyuu","/haruka","/Haruka","/hikage","/Hikage","/homura","/Homura","/mirai","/Mirai","/yomi","/Yomi"},
patterns = {"^/asuka","^/Asuka","^/hibari","^/Hibari","^/ikaruga","^/Ikaruga","^/katsuragi","^/Katsuragi","^/yagyuu","^/Yagyuu","^/haruka","^/Haruka","^/hikage","^/Hikage","^/homura","^/Homura","^/mirai","^/Mirai","^/yomi","^/Yomi"},
2015-04-14 20:21:23 +02:00
run = run
}
2015-04-20 18:52:25 +02:00
--by Akamaru