split ready event

This commit is contained in:
Emily 2020-10-29 12:57:10 +11:00
parent 3ce5da8ab4
commit d99716d89a
2 changed files with 9 additions and 1 deletions

View file

@ -6,6 +6,5 @@ module.exports = class {
async run (client) {
const activity = client.constants.activities.random();
client.editStatus('online', { name: `${activity.message} | v${client.version}`, type: activity.type});
client.logger.event(`Logged in as ${client.user.username + '#' + client.user.discriminator} and ready to accept commands! | v${client.version}`);
}
};

View file

@ -0,0 +1,9 @@
module.exports = class {
constructor (wsEvent) {
this.wsEvent = wsEvent;
}
async run (client) {
client.logger.event(`Logged in as ${client.user.username + '#' + client.user.discriminator} and ready to accept commands! | v${client.version}`);
}
};