~poi
This commit is contained in:
parent
c49f88e93e
commit
a60ea3ff3f
1
.gitignore
vendored
1
.gitignore
vendored
@ -46,4 +46,3 @@ plugins/flickr.lua
|
|||||||
plugins/flickr_search.lua
|
plugins/flickr_search.lua
|
||||||
plugins/google_books.lua
|
plugins/google_books.lua
|
||||||
plugins/safebrowsing.lua
|
plugins/safebrowsing.lua
|
||||||
plugins/random.lua
|
|
BIN
pictures/poi.jpg
Normal file
BIN
pictures/poi.jpg
Normal file
Binary file not shown.
After Width: | Height: | Size: 49 KiB |
BIN
pictures/wat/wat9.gif
Normal file
BIN
pictures/wat/wat9.gif
Normal file
Binary file not shown.
After Width: | Height: | Size: 3.7 MiB |
@ -54,6 +54,8 @@ function run(msg, matches)
|
|||||||
return "Gomen'nasai "..user_name.."-sempai 😣"
|
return "Gomen'nasai "..user_name.."-sempai 😣"
|
||||||
elseif string.match(msg.text, "^[A|a][H|h][A|a].[P|p][N|n][G|g]$") then
|
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)
|
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
|
||||||
end
|
end
|
||||||
|
|
||||||
@ -81,7 +83,8 @@ return {
|
|||||||
"^/barusamikosu$",
|
"^/barusamikosu$",
|
||||||
"^/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]$"
|
||||||
},
|
},
|
||||||
run = run
|
run = run
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user