mirror of
https://github.com/warengroup/eximiabots-radiox.git
synced 2024-12-23 05:13:17 +00:00
Update
This commit is contained in:
parent
e6c7a19648
commit
ec30dcbfb8
@ -25,11 +25,9 @@ module.exports = class Stations extends Array {
|
|||||||
});
|
});
|
||||||
|
|
||||||
if(options.show){
|
if(options.show){
|
||||||
this.logger('Stations');
|
|
||||||
list.forEach(station => {
|
list.forEach(station => {
|
||||||
console.log("- " + station.name);
|
this.logger('Stations', station.name);
|
||||||
});
|
});
|
||||||
console.log("\n");
|
|
||||||
}
|
}
|
||||||
|
|
||||||
list.forEach(async station => {
|
list.forEach(async station => {
|
||||||
|
@ -23,20 +23,17 @@ module.exports = {
|
|||||||
client.funcs.logger('Datastore', 'Ready');
|
client.funcs.logger('Datastore', 'Ready');
|
||||||
|
|
||||||
/*DEVELOPERS*/
|
/*DEVELOPERS*/
|
||||||
client.funcs.logger('Developers');
|
|
||||||
|
|
||||||
client.developers = "";
|
client.developers = "";
|
||||||
let user = "";
|
let user = "";
|
||||||
for (let i = 0; i < client.config.devId.length; i++) {
|
for (let i = 0; i < client.config.devId.length; i++) {
|
||||||
user = await client.users.fetch(client.config.devId[i]);
|
user = await client.users.fetch(client.config.devId[i]);
|
||||||
console.log("- " + user.tag);
|
client.funcs.logger('Developers', user.tag);
|
||||||
if (i == client.config.devId.length - 1) {
|
if (i == client.config.devId.length - 1) {
|
||||||
client.developers += user.tag;
|
client.developers += user.tag;
|
||||||
} else {
|
} else {
|
||||||
client.developers += user.tag + " & ";
|
client.developers += user.tag + " & ";
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
console.log("\n");
|
|
||||||
|
|
||||||
/*STATIONS*/
|
/*STATIONS*/
|
||||||
client.stations = new Stations();
|
client.stations = new Stations();
|
||||||
@ -63,12 +60,10 @@ module.exports = {
|
|||||||
/*GUILDS*/
|
/*GUILDS*/
|
||||||
client.funcs.logger('Guilds', 'Started fetching list');
|
client.funcs.logger('Guilds', 'Started fetching 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);
|
client.funcs.logger('Guilds', guild.id + " / " + guild.name);
|
||||||
});
|
});
|
||||||
console.log("\n");
|
|
||||||
|
|
||||||
client.funcs.logger('Guilds', 'Successfully fetched list');
|
client.funcs.logger('Guilds', 'Successfully fetched list');
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user