Changed lots of stuff inside of bot code. Got rid of peers in message object.

This commit is contained in:
MrMasrozYTLIVE
2024-06-11 21:47:42 +03:00
parent 4aa205cd73
commit 00b26d6afe
8 changed files with 62 additions and 33 deletions

View File

@ -60,7 +60,7 @@ loadCommands().then(commands => {
bot.on('onBotJoinRoom', () => {
console.log("Bot is ready!");
bot.sendMessageToAll(process.env.ON_READY_MESSAGE);
bot.sendTextMessage(process.env.ON_READY_MESSAGE);
});
bot.joinChatRoom(process.env.LINKUP_ROOM_ID);