This repository has been archived on 2021-04-24. You can view files and clone it, but cannot push or open issues or pull requests.
Mikubot/plugins/dicks.lua
Akamaru 92f0e86afb new plugins
wallpaper.lua
wallpaper_nsfw.lua
dicks.lua (its shit)
2015-04-27 19:55:23 +02:00

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