Reworking bot code. Again... #7
@ -5,7 +5,7 @@ import b4a from "b4a";
|
||||
class Client extends EventEmitter {
|
||||
constructor(botName) {
|
||||
super();
|
||||
if(!botName) return console.error("BotName is not defined!");
|
||||
if(!botName) return console.error("Bot Name is not defined!");
|
||||
this.botName = botName;
|
||||
this.swarm = new Hyperswarm();
|
||||
this.setupSwarm();
|
||||
|
Loading…
Reference in New Issue
Block a user