diff options
| author | Andrew Lee <andrew@alee14.me> | 2025-01-12 00:42:57 -0500 |
|---|---|---|
| committer | Andrew Lee <andrew@alee14.me> | 2025-01-12 00:42:57 -0500 |
| commit | 9b484f3f18c7fb4c6d85cb696999271c993e9753 (patch) | |
| tree | 015e8191749291080768e07858004683c7a24be0 /bot_discord.js | |
| parent | 7e65ae0e135098acad76b8081f34478b4efc077f (diff) | |
| download | AleeBot-9b484f3f18c7fb4c6d85cb696999271c993e9753.tar.gz AleeBot-9b484f3f18c7fb4c6d85cb696999271c993e9753.tar.bz2 AleeBot-9b484f3f18c7fb4c6d85cb696999271c993e9753.zip | |
Updated packages; Docker support for web; Fixed issues with author image
Diffstat (limited to 'bot_discord.js')
| -rw-r--r-- | bot_discord.js | 4 |
1 files changed, 2 insertions, 2 deletions
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': |
