diff --git a/index.js b/index.js index 8f22864b312e3b418f0fb93205aaf60d8c254681..be2602017a424f822650a4b0dc02ab4b113f4011 100644 --- a/index.js +++ b/index.js @@ -26,6 +26,8 @@ client.start().then(() => { following.add(account.acct) } }); + + console.log("Federation Bot started ! 🎉") }); // When a toot arrives in Federated Timeline @@ -102,4 +104,9 @@ client.on("notification", (msg) => { catch (error) { console.error(error); } +}); + +process.on('SIGINT', () => { + console.info("Exiting..."); + process.exit(); }); \ No newline at end of file