Added ready message in console
parent
1dc0ee955b
commit
7752c1c37a
|
@ -94,6 +94,9 @@ export default class Client extends Eris.Client {
|
||||||
|
|
||||||
await mongoose.connect(config.mongoURL, { useNewUrlParser: true, useUnifiedTopology: true });
|
await mongoose.connect(config.mongoURL, { useNewUrlParser: true, useUnifiedTopology: true });
|
||||||
await this.connect();
|
await this.connect();
|
||||||
|
this.on('ready', () => {
|
||||||
|
this.signale.info(`Connected to Discord as ${this.user.username}#${this.user.discriminator}`);
|
||||||
|
});
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue