45 lines
692 B
Lua
45 lines
692 B
Lua
|
|
||
|
do
|
||
|
|
||
|
|
||
|
local dicks = {
|
||
|
"http://i.imgur.com/A5IdNU7.jpg",
|
||
|
"http://i.imgur.com/0pEACyI.jpg",
|
||
|
"http://i.imgur.com/x2NNn9P.jpg",
|
||
|
"http://i.imgur.com/9FA7NJr.jpg",
|
||
|
"http://t.co/7LOy7LNSzV",
|
||
|
}
|
||
|
|
||
|
|
||
|
function getRandomDicks()
|
||
|
return dicks[ math.random( #dicks ) ]
|
||
|
end
|
||
|
|
||
|
|
||
|
function run(msg, matches)
|
||
|
local url = nil
|
||
|
url = getRandomDicks()
|
||
|
|
||
|
if url ~= nil then
|
||
|
local receiver = get_receiver(msg)
|
||
|
send_photo_from_url(receiver, url)
|
||
|
else
|
||
|
return 'Error getting dicks for you, please try again later.'
|
||
|
end
|
||
|
end
|
||
|
|
||
|
|
||
|
return {
|
||
|
description = "Gets a random dicks pic",
|
||
|
usage = {
|
||
|
"/dicks: Get a dicks NSFW image. 🔞"
|
||
|
},
|
||
|
patterns = {
|
||
|
"^/dicks$"
|
||
|
},
|
||
|
run = run
|
||
|
}
|
||
|
|
||
|
|
||
|
end
|