From 11bde0fc417078488f453eb2e8dc97844298efe6 Mon Sep 17 00:00:00 2001 From: Abheek Dhawan Date: Sat, 19 Mar 2022 23:48:16 -0500 Subject: [PATCH] Update ready event to set activity status as well --- events/ready.js | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/events/ready.js b/events/ready.js index e5ec030..c9ecabe 100644 --- a/events/ready.js +++ b/events/ready.js @@ -7,6 +7,10 @@ module.exports = { once: true, async execute(client) { await db.connect(mongoUri); - log({ logger: 'status', content: `Logged in at ${client.user.tag}!`, level: 'info' }); + log({ logger: 'status', content: `Logged in as ${client.user.tag}!`, level: 'info' }); + client.user.setActivity( + 'for /help', + { type: 'WATCHING' }, + ); }, };