From 9587ae4818ba05fbfc130b936528211f803fd44b Mon Sep 17 00:00:00 2001 From: MrMasrozYTLIVE <61359286+MrMasrozYTLIVE@users.noreply.github.com> Date: Sun, 9 Jun 2024 11:19:57 +0300 Subject: [PATCH] I guess its time to work on multiple rooms now --- chatBot/bot.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/chatBot/bot.js b/chatBot/bot.js index 6417cf4..c88d51b 100644 --- a/chatBot/bot.js +++ b/chatBot/bot.js @@ -42,7 +42,7 @@ loadCommands().then(commands => { if (message.type == "icon") return; console.log(message); - console.log(`Message received from ${message.name}@${peer} at ${new Date(message.timestamp).toLocaleTimeString()}: ${message.message}`); + console.log(`Message received from ${message.name}@${message.topic} at ${new Date(message.timestamp).toLocaleTimeString()}: ${message.message}`); // Check if the message starts with a command prefix if (message.message.startsWith('!')) {