From f58632dc2b9a960497476a0e240764bfe6987149 Mon Sep 17 00:00:00 2001 From: Killian Date: Sat, 29 Aug 2020 10:47:56 +0200 Subject: [PATCH] Added log design --- index.js | 17 ++++++++++++----- 1 file changed, 12 insertions(+), 5 deletions(-) diff --git a/index.js b/index.js index 4923152..8afbab4 100644 --- a/index.js +++ b/index.js @@ -29,9 +29,16 @@ const initialize = async () => { client.login(process.env.BOTUSERNAME, process.env.PASSWORD); mongoose.connect(process.env.DATABASEURL, { useNewUrlParser: true, useUnifiedTopology: true }).then(() => { - client.logger.log(`Connected to the Mongodb database.`, `ready`); - }).catch((err) => { - client.logger.log(`Unable to connect to the Mongodb database. Error:`+err, `error`); - }); + client.logger.log(`Connected to the Mongodb database.`, `ready`); + }).catch((err) => { + client.logger.log(`Unable to connect to the Mongodb database. Error:` + err, `error`); + }); }; -initialize(); \ No newline at end of file +initialize(); + +client.logger.log(` ___ _ `) +client.logger.log(` |_ _|_ __ ___| |_ __ _ __ _ _ __ __ _ _ __ ___ `) +client.logger.log(` | || '_ \\/ __| __/ _\` |/ _\` | '__/ _\` | '_ \` _ \\ `) +client.logger.log(` | || | | \\__ \\ || (_| | (_| | | | (_| | | | | | |`) +client.logger.log(` |___|_| |_|___/\\__\\__,_|\\__, |_| \\__,_|_| |_| |_|`) +client.logger.log(` |___/ `) \ No newline at end of file