Open oleghalin opened 7 years ago
Im using InviteToLobby:
Dota2.Dota2Client.prototype.invitePlayers = function(inviteList) { inviteList.forEach(function(item) { this.inviteToLobby(item); }); }
And after:
var inviteList = data.team1.concat(data.team2); bots[game_id].schedule(()=>{bots[game_id].Dota2.invitePlayers(inviteList);});
But node says that InviteToLobby is not a function. Can u help me?
Im using InviteToLobby:
And after:
But node says that InviteToLobby is not a function. Can u help me?