node-steamcommunity
node-steamcommunity copied to clipboard
stateMessage is truncated when user is "In non-Steam game<br/>"
Hello,
When the user is in a non steam game, the stateMessage appears to be truncated. Is there any way that the full text can be retrieved? That is, show the name of the game being played even if it's a non Steam game?
stateMessage: 'In non-Steam game<br/>',
Example output
CSteamUser {
_community: SteamCommunity {
_jar: RequestJar { _jar: [CookieJar] },
_captchaGid: -1,
_httpRequestID: 1,
chatState: 0,
_options: {},
request: [Function (anonymous)] {
get: [Function (anonymous)],
head: [Function (anonymous)],
post: [Function (anonymous)],
put: [Function (anonymous)],
patch: [Function (anonymous)],
del: [Function (anonymous)],
delete: [Function (anonymous)],
cookie: [Function (anonymous)],
jar: [Function (anonymous)],
defaults: [Function (anonymous)]
}
},
steamID: SteamID { universe: 1, type: 1, instance: 1, accountid: 23904332 },
name: 'Mendhak',
onlineState: 'in-game',
stateMessage: 'In non-Steam game<br/>',
privacyState: 'public',
visibilityState: '3',
avatarHash: '8a2c550cc88bd781c4b0888f414c06d2463b1761',
vacBanned: false,
tradeBanState: 'None',
isLimitedAccount: false,
customURL: 'mendhak',
memberSince: 2006-08-06T00:00:00.000Z,
location: '',
realName: 'Mendhak',
summary: 'No information given.',
groups: [
SteamID { universe: 1, type: 7, instance: 0, accountid: 4755837 },
SteamID { universe: 1, type: 7, instance: 0, accountid: 4771848 },
SteamID { universe: 1, type: 7, instance: 0, accountid: 5080300 }
],
primaryGroup: SteamID { universe: 1, type: 7, instance: 0, accountid: 4755837 }
}