Skip to content

Commit

Permalink
logger :|
Browse files Browse the repository at this point in the history
  • Loading branch information
Laxuzer authored Nov 24, 2021
1 parent cd1406d commit 3ea7a94
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions index.js
Original file line number Diff line number Diff line change
Expand Up @@ -5,5 +5,5 @@ const Handler = new (require('./src/handlers/handler'))(client);
Handler.init();

client.login(client.config.token)
.then(() => client.logger.templates.Log('Discord', 'Bot Aktif!'))
.catch((e) => client.ErrorHandler.error({ errorCode: 'ClientLogin', error: e.message }));
.then(() => client.logger.log('Discord', 'Bot Aktif!'))
.catch((e) => client.ErrorHandler.error({ errorCode: 'ClientLogin', error: e.message }));

0 comments on commit 3ea7a94

Please sign in to comment.