Oops forgot some leftovers i used to test stuff

This commit is contained in:
MrMasrozYTLIVE 2024-07-12 22:33:21 +03:00
parent e12f17e791
commit 2bd41645db

View File

@ -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<LinkUpEvents> {
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<LinkUpEvents> {
*/
constructor(botName: string, commandPrefix: string) {
super();
Client._INSTANCE = this;
this.botName = botName;
this.commandPrefix = commandPrefix;
this.swarm = new Hyperswarm();