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();