woomy-v2/bot/events/ready.js

12 lines
350 B
JavaScript
Raw Normal View History

2020-08-18 04:58:36 +00:00
module.exports = class {
2020-10-17 05:00:41 +00:00
constructor (client) {
this.client = client;
}
2020-08-18 04:58:36 +00:00
2020-10-17 05:00:41 +00:00
async run () {
await this.client.functions.wait(1000);
this.client.user.setActivity(`BNA | v${this.client.version}`, { type: 'WATCHING' }); // lol
this.client.logger.ready(`Connected to Discord as ${this.client.user.tag}`);
}
2020-08-18 04:58:36 +00:00
};