- 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:getAvatar(serverId)
integer
false or string
RegisterCommand('getAvatar', function(src)
local avatar = exports.trase_discord:getAvatar(src)
if (not avatar) then
-- Player was not in the discord, no avatar found
return
end
print(avatar)
end)