1
0
Fork 0

Added ready message in console

refactor/models
Bsian 2019-10-29 16:15:20 +00:00
parent 1dc0ee955b
commit 7752c1c37a
No known key found for this signature in database
GPG Key ID: 097FB9A291026091
1 changed files with 3 additions and 0 deletions

View File

@ -94,6 +94,9 @@ export default class Client extends Eris.Client {
await mongoose.connect(config.mongoURL, { useNewUrlParser: true, useUnifiedTopology: true });
await this.connect();
this.on('ready', () => {
this.signale.info(`Connected to Discord as ${this.user.username}#${this.user.discriminator}`);
});
}
}