new wat picture

This commit is contained in:
Akamaru 2015-05-07 19:48:08 +02:00
parent 3f5313f1c2
commit 8b808b27f5
2 changed files with 3 additions and 1 deletions

BIN
pictures/wat/wat8.jpg Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 74 KiB

View File

@ -1,5 +1,5 @@
function run(msg, matches) function run(msg, matches)
randomValue = math.random(7) randomValue = math.random(8)
if randomValue == 1 then if randomValue == 1 then
send_photo(get_receiver(msg), "pictures/wat/wat1.jpg", ok_cb, false) send_photo(get_receiver(msg), "pictures/wat/wat1.jpg", ok_cb, false)
elseif randomValue == 2 then elseif randomValue == 2 then
@ -14,6 +14,8 @@ elseif randomValue == 6 then
send_photo(get_receiver(msg), "pictures/wat/wat6.jpg", ok_cb, false) send_photo(get_receiver(msg), "pictures/wat/wat6.jpg", ok_cb, false)
elseif randomValue == 7 then elseif randomValue == 7 then
send_photo(get_receiver(msg), "pictures/wat/wat7.jpg", ok_cb, false) send_photo(get_receiver(msg), "pictures/wat/wat7.jpg", ok_cb, false)
elseif randomValue == 8 then
send_photo(get_receiver(msg), "pictures/wat/wat8.jpg", ok_cb, false)
end end
end end