From 9b484f3f18c7fb4c6d85cb696999271c993e9753 Mon Sep 17 00:00:00 2001 From: Andrew Lee Date: Sun, 12 Jan 2025 00:42:57 -0500 Subject: Updated packages; Docker support for web; Fixed issues with author image --- bot_discord.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'bot_discord.js') diff --git a/bot_discord.js b/bot_discord.js index 8bfa7da..5a38940 100644 --- a/bot_discord.js +++ b/bot_discord.js @@ -124,9 +124,9 @@ rl.on('line', function(cmd) { console.log(('[!] No guilds found.'.yellow)); } else { console.log('[i] These are the servers that AleeBot is connected to:'); - for ([id, guild] of client.guilds) { + client.guilds.cache.forEach((guild) => { console.log(` Guild Name: ${guild.name} - ID: ${guild.id}`.blue); - } + }); } break; case 'leave': -- cgit v1.2.3