A little bit more image work

This commit is contained in:
TheEssem 2021-06-18 19:10:13 -05:00
parent a0a32c31b9
commit 4d3e1655e0
No known key found for this signature in database
GPG key ID: A3F9F02129092FCA
5 changed files with 123 additions and 145 deletions

View file

@ -10,11 +10,11 @@ class ImageStatsCommand extends Command {
"icon_url": this.client.user.avatarURL
},
"color": 16711680,
"description": `The bot is currently connected to ${image.connections.length} image server(s).`,
"description": `The bot is currently connected to ${image.connections.size} image server(s).`,
"fields": []
}
};
const servers = await image.getStatus();
const servers = await image.getRunning();
for (let i = 0; i < servers.length; i++) {
embed.embed.fields.push({
name: `Server ${i + 1}`,