set status when going online

This commit is contained in:
rhearmas 2019-12-21 15:55:04 -05:00
parent 6d6b71b2b4
commit a50d93f058

View file

@ -1,4 +1,7 @@
module.exports = async client => {
client.logger.log(`${client.user.tag}, ready to serve ${client.users.filter(user => !user.bot).size} users in ${client.guilds.size} ${client.guilds.size > 1 ? "servers" : "server"}.`, "ready");
client.user.setActivity(`${client.users.filter(user => !user.bot).size} humans | ${client.settings.get("default").prefix}help`, {type: "WATCHING"});
client.user.setStatus("online");
};