Susceptance

SectionLeader Bot Client

Sep 29th, 2020 (edited)
90
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 0.50 KB | None | 0 0
  1. internet = require("internet")
  2. channelid = "331958223756197888"
  3. address = "https://discord.com/api/channels/"..channelid.."/messages"
  4. authtoken = "NDY5NTU0MzEzMzc1Nzc2Nzc4.W1DIiA.N6UPG9soraQPYoihpo9a1ZPdPSI"
  5.  
  6. local handle = internet.request(address, {["User-Agent"] = "Section_Leader (https://pastebin.com/RPf6Lc5y, 0.1)"}, {["Authorization"] = "Bot "..authtoken})
  7. local result = ""
  8. for chunk in handle do result = result..chunk end
  9.  
  10. local code, message, headers = mt.__index.response
  11. print(headers)
Add Comment
Please, Sign In to add comment