I guess its time to work on multiple rooms now

This commit is contained in:
MrMasrozYTLIVE 2024-06-09 11:19:57 +03:00
parent 8bac7def09
commit 9587ae4818

View File

@ -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('!')) {