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/porndoge.lua

15 lines
356 B
Lua
Raw Normal View History

2015-11-12 17:42:03 +01:00
function run(msg, matches)
local receiver = get_receiver(msg)
local url = 'https://porndoge.herokuapp.com/'
local file = download_to_file(url)
local cb_extra = {file_path=file}
send_photo(receiver, file, ok_cb, false)
end
return {
description = "",
usage = {""},
patterns = {"^#pdoge$"},
2015-11-12 17:42:03 +01:00
run = run
}
--by Akamaru [https://ponywave.de]