From 2bd41645db8d35a47510afde109b8380588d564f Mon Sep 17 00:00:00 2001 From: MrMasrozYTLIVE <61359286+MrMasrozYTLIVE@users.noreply.github.com> Date: Fri, 12 Jul 2024 22:33:21 +0300 Subject: [PATCH] Oops forgot some leftovers i used to test stuff --- src/Client.ts | 3 --- 1 file changed, 3 deletions(-) diff --git a/src/Client.ts b/src/Client.ts index 4960a08..4feadf9 100644 --- a/src/Client.ts +++ b/src/Client.ts @@ -21,8 +21,6 @@ import { promisify } from "util"; * This class is the core component of the bot system. It handles connections to the Hyperswarm network, manages message sending and receiving, and emits events for various actions. */ export class Client extends TypedEventEmitter { - public static _INSTANCE: Client; - public botName: string = ""; public servePort: number | null = 0; public storagePath: string | undefined; @@ -46,7 +44,6 @@ export class Client extends TypedEventEmitter { */ constructor(botName: string, commandPrefix: string) { super(); - Client._INSTANCE = this; this.botName = botName; this.commandPrefix = commandPrefix; this.swarm = new Hyperswarm();