Update RoHook.lua
This commit is contained in:
parent
5de95c12fe
commit
23d2e60078
22
RoHook.lua
22
RoHook.lua
|
@ -4,6 +4,17 @@
|
|||
-- services
|
||||
local httpService = game:GetService("HttpService")
|
||||
|
||||
local module = {}
|
||||
|
||||
module.webhookConfig = {
|
||||
webhookUrl = "",
|
||||
overrideUsername = false,
|
||||
overrideAvatar = false,
|
||||
|
||||
username = nil,
|
||||
avatar = nil
|
||||
}
|
||||
|
||||
local function getDate()
|
||||
local date = os.date("!*t")
|
||||
|
||||
|
@ -18,17 +29,6 @@ local function rgbToDec(rgb)
|
|||
return rgbTotal
|
||||
end
|
||||
|
||||
local module = {}
|
||||
|
||||
module.webhookConfig = {
|
||||
webhookUrl = "",
|
||||
overrideUsername = false,
|
||||
overrideAvatar = false,
|
||||
|
||||
username = nil,
|
||||
avatar = nil
|
||||
}
|
||||
|
||||
|
||||
local function getUsername()
|
||||
local config = module.webhookConfig
|
||||
|
|
Reference in New Issue