mirror of
https://github.com/gmod-integration/lua.git
synced 2025-03-15 21:17:34 +00:00
add more hint
This commit is contained in:
parent
973ccfa1b0
commit
bfea8eab35
|
@ -99,7 +99,7 @@ end
|
|||
|
||||
function gmInte.sendStatus(start)
|
||||
if (gmInte.config.id == "" || gmInte.config.token == "") then
|
||||
gmInte.logError("ID or Token is empty: (id: " .. gmInte.config.id .. ", token: " .. (gmInte.config.token == "" && "empty" || "not empty") .. ")")
|
||||
gmInte.logError("ID or Token is empty: (id: " .. (gmInte.config.id == "" && "empty" || gmInte.config.id) .. ", token: " .. (gmInte.config.token == "" && "empty" || "not empty but hide") .. ")")
|
||||
gmInte.logHint("Use 'gmod-integration settings id YOUR_SERVER_ID' and 'gmod-integration settings token YOUR_SERVER_TOKEN' to set your credentials, you can find them on https://gmod-integration.com/guild/servers")
|
||||
return
|
||||
end
|
||||
|
@ -116,7 +116,7 @@ function gmInte.sendStatus(start)
|
|||
},
|
||||
function() end,
|
||||
function(code, body, headers)
|
||||
gmInte.logError("Your Credentials are Invalid: (id: " .. gmInte.config.id .. ", token: " .. (gmInte.config.token == "" && "empty" || "not empty") .. ")")
|
||||
gmInte.logError("Your Credentials are Invalid: (id: " .. (gmInte.config.id == "" && "empty" || gmInte.config.id) .. ", token: " .. (gmInte.config.token == "" && "empty" || "not empty but hide") .. ")")
|
||||
gmInte.logHint("Use 'gmod-integration settings id YOUR_SERVER_ID' and 'gmod-integration settings token YOUR_SERVER_TOKEN' to set your credentials, you can find them on https://gmod-integration.com/guild/servers")
|
||||
end
|
||||
)
|
||||
|
|
Loading…
Reference in New Issue
Block a user