List developers in ready.js

This commit is contained in:
Christer Warén 2021-08-31 13:59:38 +03:00
parent 73e2427a21
commit fe165f03c6

View File

@ -10,16 +10,20 @@ module.exports = {
console.log('');
/*DEVELOPERS*/
client.funcs.logger('Developers', 'List');
client.developers = "";
let user = "";
for (let i = 0; i < client.config.devId.length; i++) {
user = await client.users.fetch(client.config.devId[i]);
console.log(" - " + user.tag);
if (i == client.config.devId.length - 1) {
client.developers += user.tag;
} else {
client.developers += user.tag + " & ";
}
}
console.log("\n");
/*STATIONS*/
try {