Update Discord.lua

This commit is contained in:
Norberto A 2020-02-28 21:14:43 +00:00 committed by GitHub
parent 8f3bd50b40
commit 0eab38f11d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 4 additions and 3 deletions

View File

@ -1,6 +1,7 @@
-- Script type: Module
-- Writen by github.com/Limesey, @Norbunny on Roblox.
-- services
local httpService = game:GetService("HttpService")
local function getDate()
@ -12,16 +13,16 @@ local function getDate()
end
local function rgbToDec(rgb)
local dec = rgb.B * 65536 + rgb.G * 256 + rgb.R
local rgbTotal = rgb.R * 65536 + rgb.G * 256 + rgb.B
return dec
return rgbTotal
end
local module = {}
-- Your webhook's URL
module.webhookUrl = nil
module.webhookUrl = ""
function module.newMessage(message)
message = message