Fixed sending ON_READY_MESSAGE

This commit is contained in:
MrMasrozYTLIVE
2024-06-10 17:28:18 +03:00
parent d9dbdf4401
commit 8788adbc2b
2 changed files with 10 additions and 3 deletions

View File

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