what thyme is it?

This commit is contained in:
Akamaru 2015-08-02 22:05:46 +02:00
parent c9258d2547
commit a0412e6649
2 changed files with 4 additions and 1 deletions

BIN
pictures/thyme.jpg Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 31 KiB

View File

@ -56,6 +56,8 @@ function run(msg, matches)
send_photo(get_receiver(msg), "pictures/aha.png", ok_cb, false) send_photo(get_receiver(msg), "pictures/aha.png", ok_cb, false)
elseif string.match(msg.text, "^~?[P|p][O||o][I|i]$") then elseif string.match(msg.text, "^~?[P|p][O||o][I|i]$") then
send_photo(get_receiver(msg), "pictures/poi.jpg", ok_cb, false) send_photo(get_receiver(msg), "pictures/poi.jpg", ok_cb, false)
elseif string.match(msg.text, "^/[Tt][Hh][Yy][Mm][Ee]$") then
send_photo(get_receiver(msg), "pictures/thyme.jpg", ok_cb, false)
end end
end end
@ -84,7 +86,8 @@ return {
"^/Balsamiko Essig$", "^/Balsamiko Essig$",
"^[B|b][A|a][K|k][A|a] [B|b][O|o][T|t]$", "^[B|b][A|a][K|k][A|a] [B|b][O|o][T|t]$",
"^[A|a][H|h][A|a].[P|p][N|n][G|g]$", "^[A|a][H|h][A|a].[P|p][N|n][G|g]$",
"^~?[P|p][O||o][I|i]$" "^~?[P|p][O||o][I|i]$",
"^/[Tt][Hh][Yy][Mm][Ee]$"
}, },
run = run run = run
} }