Updated ready.js

This commit is contained in:
Christer Warén 2021-09-03 03:03:19 +03:00
parent 314c744527
commit 9d9ae80dbe

View File

@ -11,6 +11,14 @@ module.exports = {
client.funcs.logger('Datastore', 'Initialize'); client.funcs.logger('Datastore', 'Initialize');
client.datastore = new Datastore(); client.datastore = new Datastore();
client.funcs.logger('Datastore');
client.datastore.map.forEach(datastore => {
console.log("- " + datastore.guild.id + " / " + datastore.guild.name);
});
console.log("\n");
client.funcs.logger('Datastore', 'Ready');
/*DEVELOPERS*/ /*DEVELOPERS*/
client.funcs.logger('Developers'); client.funcs.logger('Developers');
@ -70,7 +78,7 @@ module.exports = {
client.funcs.logger('Guilds'); client.funcs.logger('Guilds');
let guilds = await client.guilds.fetch(); let guilds = await client.guilds.fetch();
guilds.forEach(guild => { guilds.forEach(guild => {
console.log("- " + guild.id + ": " + guild.name); console.log("- " + guild.id + " / " + guild.name);
}); });
console.log("\n"); console.log("\n");