I dont know what to say here because i just need up-to-date repo on my laptop

This commit is contained in:
MrMasrozYTLIVE 2024-06-09 11:07:52 +03:00
parent 966873774c
commit 72bf632cd4
2 changed files with 2 additions and 1 deletions

1
app.js
View File

@ -438,6 +438,7 @@ function toggleSetupView() {
}
function writeConfigToFile(filePath) {
console.debug(config)
fs.writeFile(filePath, JSON.stringify(config), (err) => {
if (err) return console.error(err);
console.log("File has been created");

View File

@ -42,7 +42,7 @@ loadCommands().then(commands => {
if (message.type == "icon") return;
console.log(message);
console.log(`Message received from ${message.name} at ${new Date(message.timestamp).toLocaleTimeString()}: ${message.message}`);
console.log(`Message received from ${message.name}@${peer} at ${new Date(message.timestamp).toLocaleTimeString()}: ${message.message}`);
// Check if the message starts with a command prefix
if (message.message.startsWith('!')) {