Oops forgot some leftovers i used to test stuff
This commit is contained in:
parent
e12f17e791
commit
2bd41645db
@ -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();
|
||||
|
Loading…
Reference in New Issue
Block a user