~poi
This commit is contained in:
parent
c49f88e93e
commit
a60ea3ff3f
3
.gitignore
vendored
3
.gitignore
vendored
@ -45,5 +45,4 @@ plugins/dantest.lua
|
||||
plugins/flickr.lua
|
||||
plugins/flickr_search.lua
|
||||
plugins/google_books.lua
|
||||
plugins/safebrowsing.lua
|
||||
plugins/random.lua
|
||||
plugins/safebrowsing.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 😣"
|
||||
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
|
||||
}
|
||||
|
Reference in New Issue
Block a user