split ready event
This commit is contained in:
parent
3ce5da8ab4
commit
d99716d89a
2 changed files with 9 additions and 1 deletions
|
@ -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}`);
|
||||
}
|
||||
};
|
9
bot/event_modules/ready/logReady.js
Normal file
9
bot/event_modules/ready/logReady.js
Normal 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}`);
|
||||
}
|
||||
};
|
Loading…
Reference in a new issue