From 7752c1c37aa25700ed8f9926665afcb99bbdefa1 Mon Sep 17 00:00:00 2001 From: Bsian Date: Tue, 29 Oct 2019 16:15:20 +0000 Subject: [PATCH] Added ready message in console --- src/Client.ts | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/Client.ts b/src/Client.ts index 0fbf44e..2ed0535 100644 --- a/src/Client.ts +++ b/src/Client.ts @@ -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}`); + }); } }