diff --git a/index.js b/index.js index 3c68fbd0..e1c4cdaf 100644 --- a/index.js +++ b/index.js @@ -122,3 +122,5 @@ client.on('ready', () => { }); client.login(TOKEN); + +process.on('unhandledRejection', console.error);