2015-04-14 20:21:23 +02:00
|
|
|
function run(msg, matches)
|
|
|
|
|
|
|
|
if string.starts(msg.text, '/kagami') or string.starts(msg.text, "/Kagami") then
|
|
|
|
send_photo(get_receiver(msg), "pictures/luckystar/kagami.jpg", ok_cb, false)
|
|
|
|
end
|
|
|
|
|
|
|
|
if string.starts(msg.text, '/konata') or string.starts(msg.text, "/Konata") then
|
|
|
|
send_photo(get_receiver(msg), "pictures/luckystar/konata.jpg", ok_cb, false)
|
|
|
|
end
|
|
|
|
|
|
|
|
if string.starts(msg.text, '/miyuki') or string.starts(msg.text, "/Miyuki") then
|
|
|
|
send_photo(get_receiver(msg), "pictures/luckystar/miyuki.jpg", ok_cb, false)
|
|
|
|
end
|
|
|
|
|
|
|
|
if string.starts(msg.text, '/tsukasa') or string.starts(msg.text, "/Tsukasa") then
|
|
|
|
send_photo(get_receiver(msg), "pictures/luckystar/tsukasa.jpg", ok_cb, false)
|
|
|
|
end
|
|
|
|
end
|
|
|
|
|
|
|
|
return {
|
|
|
|
description = "Sendet ein Bild von den Lucky Star Chars",
|
2015-04-28 17:49:11 +02:00
|
|
|
usage = {"/Kagami","/kagami","/Konata","/konata","/Tsukasa","/tsukasa","/Miyuki","/miyuki"},
|
|
|
|
patterns = {"^/kagami$","^/Kagami$","^/konata$","^/Konata$","^/miyuki$","^/Miyuki$","^/tsukasa$","^/Tsukasa$"},
|
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]
|