From cbe3f032fbab21dde4e0538d51130b2c1c783804 Mon Sep 17 00:00:00 2001 From: Ralph Date: Mon, 5 Apr 2021 11:39:38 -0400 Subject: [PATCH] Update Bot Guild number --- bot/bot.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bot/bot.js b/bot/bot.js index e62cf14..c1bf370 100644 --- a/bot/bot.js +++ b/bot/bot.js @@ -41,7 +41,7 @@ let commands = { let bot = new Discord.Client(); bot.on('ready', function() { - console.log('Logged in! Serving in ' + bot.guilds.array().length + ' servers'); + console.log('Logged in! Serving in ' + bot.guilds.cache.size + ' servers'); require('./plugins.js').init(); console.log('type ' + config.prefix + 'help in Discord for a commands list.'); bot.user.setActivity(config.prefix + 'help', { type: 'LISTENING' }).catch(console.error);