This commit is contained in:
Alex Brow 2020-03-23 00:07:08 -04:00
parent c23da89e7d
commit 0e366c780c
No known key found for this signature in database
GPG Key ID: F48926893F475C25
1 changed files with 1 additions and 1 deletions

View File

@ -14,7 +14,7 @@ const config = require("./config.json");
client.on("ready", () => {
// This event will run if the bot starts, and logs in, successfully.
console.log(`Bot has started, with ${client.users.size} users, in ${client.channels.size} channels of ${client.guilds.size} guilds.`);
console.log(`Bot has started, with ${client.users.cache.size} users, in ${client.channels.cache.size} channels of ${client.guilds.cache.size} guilds.`);
// Example of changing the bot's playing game to something useful. `client.user` is what the
// docs refer to as the "ClientUser".
client.user.setActivity(`${client.users.size} of you horrible people`,{ type: 'LISTENING' });