diff --git a/.gitignore b/.gitignore index 4c2c476..9707669 100644 --- a/.gitignore +++ b/.gitignore @@ -45,5 +45,4 @@ plugins/dantest.lua plugins/flickr.lua plugins/flickr_search.lua plugins/google_books.lua -plugins/safebrowsing.lua -plugins/random.lua \ No newline at end of file +plugins/safebrowsing.lua \ No newline at end of file diff --git a/pictures/poi.jpg b/pictures/poi.jpg new file mode 100644 index 0000000..eb8fb94 Binary files /dev/null and b/pictures/poi.jpg differ diff --git a/pictures/wat/wat9.gif b/pictures/wat/wat9.gif new file mode 100644 index 0000000..128baea Binary files /dev/null and b/pictures/wat/wat9.gif differ diff --git a/plugins/special.lua b/plugins/special.lua index 1df1ebc..c12e309 100644 --- a/plugins/special.lua +++ b/plugins/special.lua @@ -54,6 +54,8 @@ function run(msg, matches) return "Gomen'nasai "..user_name.."-sempai 😣" elseif string.match(msg.text, "^[A|a][H|h][A|a].[P|p][N|n][G|g]$") then send_photo(get_receiver(msg), "pictures/aha.png", ok_cb, false) + elseif string.match(msg.text, "^~?[P|p][O||o][I|i]$") then + send_photo(get_receiver(msg), "pictures/poi.jpg", ok_cb, false) end end @@ -81,7 +83,8 @@ return { "^/barusamikosu$", "^/Balsamiko Essig$", "^[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]$" }, run = run }