set status when going online
This commit is contained in:
parent
6d6b71b2b4
commit
a50d93f058
1 changed files with 3 additions and 0 deletions
|
@ -1,4 +1,7 @@
|
||||||
module.exports = async client => {
|
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.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.setActivity(`${client.users.filter(user => !user.bot).size} humans | ${client.settings.get("default").prefix}help`, {type: "WATCHING"});
|
||||||
|
|
||||||
|
client.user.setStatus("online");
|
||||||
};
|
};
|
||||||
|
|
Loading…
Reference in a new issue