Update Discord.lua
This commit is contained in:
parent
8f3bd50b40
commit
0eab38f11d
|
@ -1,6 +1,7 @@
|
||||||
-- Script type: Module
|
-- Script type: Module
|
||||||
-- Writen by github.com/Limesey, @Norbunny on Roblox.
|
-- Writen by github.com/Limesey, @Norbunny on Roblox.
|
||||||
|
|
||||||
|
-- services
|
||||||
local httpService = game:GetService("HttpService")
|
local httpService = game:GetService("HttpService")
|
||||||
|
|
||||||
local function getDate()
|
local function getDate()
|
||||||
|
@ -12,16 +13,16 @@ local function getDate()
|
||||||
end
|
end
|
||||||
|
|
||||||
local function rgbToDec(rgb)
|
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
|
end
|
||||||
|
|
||||||
|
|
||||||
local module = {}
|
local module = {}
|
||||||
|
|
||||||
-- Your webhook's URL
|
-- Your webhook's URL
|
||||||
module.webhookUrl = nil
|
module.webhookUrl = ""
|
||||||
|
|
||||||
function module.newMessage(message)
|
function module.newMessage(message)
|
||||||
message = message
|
message = message
|
||||||
|
|
Reference in New Issue