diff --git a/index.js b/index.js index 531c4954..45ea5f07 100644 --- a/index.js +++ b/index.js @@ -190,4 +190,8 @@ client.once('ready', () => { client.user.setGame(";help | dragonfire535"); }); +process.on('unhandledRejection', function(reason, p){ + console.log("Possibly Unhandled Rejection at: Promise ", p, " reason: ", reason); +}); + client.login(config.token); \ No newline at end of file