Reworking bot code. Again... #7

Merged
snxraven merged 5 commits from MiTask/LinkUp-P2P-Chat:main into main 2024-06-11 16:38:55 -04:00
Showing only changes of commit 4415d196de - Show all commits

View File

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