- serverId:
integer- The server ID of the player you want to retrieve the discord info for.
false or string
Documentation Index
Fetch the complete documentation index at: /llms.txt
Use this file to discover all available pages before exploring further.
exports.trase_discord:getUsername(serverId)
integer
false or string
RegisterCommand('getUsername', function(src)
local username = exports.trase_discord:getUsername(src)
if (not username) then
-- Player was not in the discord, no username found
return
end
print(username)
end)