Output as json

This commit is contained in:
Joren 2024-06-28 01:03:43 +02:00
parent 9fe5ccc308
commit f0891322b5
Signed by: Joren
GPG Key ID: 280E33DFBC0F1B55

View File

@ -37,7 +37,9 @@ class InfoClient extends Client {
}); });
guildData[guild.name] = guildInfo; guildData[guild.name] = guildInfo;
}); });
console.log(guildData) //console.log(guildData)
const jsonData = JSON.stringify(guildData, null, 2);
console.log(jsonData)
process.exit(); process.exit();
} }
} }