Hello, the following Code work greate on a localhost Teamspeak, but on a big Teamspeak (250+ User) sometimes (every ~15 try) the Bot didn't react to this Listeners.
the same for the serverGroupRemoved event.
JavaScript:
event.on('serverGroupAdded', function(ev){
if(ev.serverGroup != null) {
if (config.userReadyServergroup == ev.serverGroup.id()) {
if (getUserOnList(ev.client) == false) {
addUserOnList(ev.client);
}
}
}
});
the same for the serverGroupRemoved event.