mirror of
https://github.com/warengroup/eximiabots-radiox.git
synced 2024-12-22 20:23:16 +00:00
List developers in ready.js
This commit is contained in:
parent
73e2427a21
commit
fe165f03c6
@ -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 {
|
||||
|
Loading…
Reference in New Issue
Block a user