From 0eab38f11de92a4f3f5d653315566f0621d8cc04 Mon Sep 17 00:00:00 2001 From: Norberto A <41595007+Limesey@users.noreply.github.com> Date: Fri, 28 Feb 2020 21:14:43 +0000 Subject: [PATCH] Update Discord.lua --- Discord.lua | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/Discord.lua b/Discord.lua index d70d9d7..8e6b213 100644 --- a/Discord.lua +++ b/Discord.lua @@ -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