Stop sending name and owner IDs

This commit is contained in:
Skylar Grant 2023-05-16 13:48:39 -04:00
parent 44a4d572bb
commit f3573eeaed

View File

@ -9,9 +9,9 @@ module.exports = {
const count = JSON.stringify(message.client.guilds.cache.size); const count = JSON.stringify(message.client.guilds.cache.size);
servers.push("I'm currently in " + count + " servers."); servers.push("I'm currently in " + count + " servers.");
const guilds = await message.client.guilds.cache; const guilds = await message.client.guilds.cache;
await guilds.each(g => { // await guilds.each(g => {
servers.push(g.name + "," + g.ownerId); // servers.push(g.name + "," + g.ownerId);
}); // });
await message.reply(servers.join("\n")); await message.reply(servers.join("\n"));
} }
} }