Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- arg = {...}
- str = ""
- for i = 1, #arg do
- str = str..arg[i].." "
- end
- arg = str
- header = {
- ['ContentType'] = "application/json",
- ['User-Agent'] = "DiscordBot (RogerBot)",
- }
- function httppost(tUrl,tForm,tHeader)
- httphandle = http.post("http://smaller.hol.es/proxy.php?url="..tUrl,tForm,tHeader)
- resp = httphandle.readAll()
- httphandle.close()
- return resp
- end
- httppost("https://discordapp.com/api/webhooks/300730487968759809/p7L4gBv51CAioatwMCTANd42bgDmb6QcL3rbD1-r1sYORqXFDMkb8SX85KN6GMcNocW3","content="..arg,header)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement