I got the following errors in console of the bot during the check process. Not sure what they mean:
Checking for updates globally
53 | this.updaterInstalled = false;
54 | }
55 |
56 | async fetchPlugins() {
57 | this.rcon.login();
58 | this.rcon.on('error', (err: any) => {
^
warn: Possible EventEmitter memory leak detected. 11 error listeners added to [Client]. Use emitter.setMaxListeners() to increase limit
at overflowWarning (node:events:163:14)
at addListener (node:events:138:22)
at /home/container/utils/servers.ts:58:19
at fetchPlugins (/home/container/utils/servers.ts:56:26)
at /home/container/utils/servers.ts:226:26
at fetchAllPlugins (/home/container/utils/servers.ts:224:36)
at /home/container/utils/versionCheck.ts:11:23
at init (/home/container/utils/versionCheck.ts:8:18)
at /home/container/utils/updateCheckChannel.ts:67:28
at updateCheck (/home/container/utils/updateCheckChannel.ts:66:116)
56 | async fetchPlugins() {
57 | this.rcon.login();
58 | this.rcon.on('error', (err: any) => {
59 | console.log(` Encountered an error while trying to connect to ${this.name} / ${(`${this.rcon.ws.ip}:${this.rcon.ws.port}`)} :\n ${err.message}`);
60 | });
61 | this.rcon.on('connected', () => {
^
warn: Possible EventEmitter memory leak detected. 11 connected listeners added to [Client]. Use emitter.setMaxListeners() to increase limit
at overflowWarning (node:events:163:14)
at addListener (node:events:138:22)
at /home/container/utils/servers.ts:61:19
at fetchPlugins (/home/container/utils/servers.ts:56:26)
at /home/container/utils/servers.ts:226:26
at fetchAllPlugins (/home/container/utils/servers.ts:224:36)
at /home/container/utils/versionCheck.ts:11:23
at init (/home/container/utils/versionCheck.ts:8:18)
at /home/container/utils/updateCheckChannel.ts:67:28
at updateCheck (/home/container/utils/updateCheckChannel.ts:66:116)
66 |
67 | setTimeout(() => {
68 | this.rcon.destroy();
69 | }, 5000);
70 | });
71 | this.rcon.on('message', (message: any) => {
^
warn: Possible EventEmitter memory leak detected. 11 message listeners added to [Client]. Use emitter.setMaxListeners() to increase limit
at overflowWarning (node:events:163:14)
at addListener (node:events:138:22)
at /home/container/utils/servers.ts:71:19
at fetchPlugins (/home/container/utils/servers.ts:56:26)
at /home/container/utils/servers.ts:226:26
at fetchAllPlugins (/home/container/utils/servers.ts:224:36)
at /home/container/utils/versionCheck.ts:11:23
at init (/home/container/utils/versionCheck.ts:8:18)
at /home/container/utils/updateCheckChannel.ts:67:28
at updateCheck (/home/container/utils/updateCheckChannel.ts:66:116)