• If you need help or want to discuss things, you now can also join us on our Discord Server!
  • A first preview of the unlimited version of SinusBot can be found in the Upcoming Changes thread. A version for Windows will follow, but we don't have a release date, yet.

Feature Request "detection of connected users"

bky6677

#stayinghome
Hello,

I want event.on('clientConnected' .
Detect to if client connected to teamspeak. Because event.on('clientmove' buggy If restart sinusbot send all clients msg .
 

flyth

is reticulating splines
Staff member
Developer
Contributor
If I understand you correctly, you might want to check the connection state of the bot first; clientMove will get triggered for every user, if the bot connects as well (to populate the userlist).
You can for example check on script start if the bot is connected and then listen for event.on('connect', ...) and only trigger whatever you want on clientMove, after the bot fully connected.

I hope that's clear enough.
 
Top