Multivit4min / TS3-NodeJS-Library

TeamSpeak 3 Server Query Library supports SSH and RAW Query
https://multivit4min.github.io/TS3-NodeJS-Library/
MIT License
149 stars 18 forks source link

Could not fetch client with id XXXX in event "cliententerview" #111

Closed elipeF closed 4 years ago

elipeF commented 4 years ago

Describe the bug It worked correctly up to 2.2.0 after upgrading to 2.4.1 errors began to appear.

EventError: could not fetch client with id XXXX in event "cliententerview" at XXX/node_modules/ts3-nodejs-library/lib/TeamSpeak.js:167:23 at runMicrotasks () at processTicksAndRejections (internal/process/task_queues.js:93:5) { eventName: 'cliententerview' }

To Reproduce teamspeak.on("ready", async () => { await teamspeak.registerEvent("server"); });

teamspeak.on("clientconnect", async ({ client }) => { if (!client.isQuery()) { .... } }); Expected behavior A clear and concise description of what you expected to happen.

Versions used

Multivit4min commented 4 years ago

Closing this because its a duplicate of https://github.com/Multivit4min/TS3-NodeJS-Library/issues/107