Officially remove the usage of GetUserOnlineStatus
Roblox just removed the endpoint with no warning
This commit is contained in:
parent
b28c49f342
commit
0e0a9dde16
@ -115,7 +115,7 @@ local function Callback(Interaction, Command, Args)
|
|||||||
end
|
end
|
||||||
local usernameHistoryString = table.concat(usernameHistoryTable,', ')
|
local usernameHistoryString = table.concat(usernameHistoryTable,', ')
|
||||||
|
|
||||||
local onlineStatus_info = API:GetUserOnlineStatus(id) or {lastLocation="Unknown", lastOnline=0, userPresenceType=-1}
|
local onlineStatus_info = {lastLocation="Unknown", lastOnline=0, userPresenceType=-1}
|
||||||
-- table.foreach(onlineStatus_info,print)
|
-- table.foreach(onlineStatus_info,print)
|
||||||
|
|
||||||
local LastLocation = onlineStatus_info.lastLocation
|
local LastLocation = onlineStatus_info.lastLocation
|
||||||
|
Loading…
Reference in New Issue
Block a user