CSGO.launch() does not work?
var Steam = require('steam'), steamClient = new Steam.SteamClient(), steamUser = new Steam.SteamUser(steamClient), steamGC = new Steam.SteamGameCoordinator(steamClient, 730), csgo = require('csgo'), CSGO = new csgo.CSGOClient(steamUser, steamGC, false); CSGO.launch();
Here you can see my code, which for some reason prints out this error, can anyone help me with this?
`
TypeError: Cannot read properties of undefined (reading 'send')
at SteamClient._send (\WO\node_modules\←[4msteam←[24m\lib\steam_client.js:117:20)
at SteamClient.send (\WO\node_modules\←[4msteam←[24m\lib\steam_client.js:126:8)
at SteamUser.gamesPlayed (\WO\node_modules\←[4msteam←[24m\lib\handlers\user\index.js:47:16)
at CSGOClient.launch (\WO\node_modules\←[4mcsgo←[24m\index.js:103:14)
at Object.
Node.js v17.3.1 `