Browse Source

Update ready event to set activity status as well

pull/28/head
Abheek Dhawan 3 years ago
parent
commit
11bde0fc41
Signed by: abheekd GPG Key ID: 7BE81B8C14475B67
  1. 6
      events/ready.js

6
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' },
);
},
};

Loading…
Cancel
Save