Edited loggers in ready.js

This commit is contained in:
Christer Warén 2021-09-02 14:40:12 +03:00
parent fea24ec1aa
commit eba7551329

View File

@ -10,7 +10,7 @@ module.exports = {
console.log(''); console.log('');
/*DEVELOPERS*/ /*DEVELOPERS*/
client.funcs.logger('Developers', 'List'); client.funcs.logger('Developers');
client.developers = ""; client.developers = "";
let user = ""; let user = "";
@ -32,7 +32,7 @@ module.exports = {
.then(client.funcs.checkFetchStatus) .then(client.funcs.checkFetchStatus)
.then(response => response.json()); .then(response => response.json());
client.funcs.logger('Stations', 'List'); client.funcs.logger('Stations');
client.stations.forEach(station => { client.stations.forEach(station => {
console.log(" - " + station.name); console.log(" - " + station.name);
}); });
@ -65,7 +65,7 @@ module.exports = {
/*GUILDS*/ /*GUILDS*/
client.funcs.logger('Guilds', 'Started fetching list'); client.funcs.logger('Guilds', 'Started fetching list');
client.funcs.logger('Guilds', 'List'); 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);