From f6f9dcdcb5c71a55129f2802fd1dae7f7675ce3e Mon Sep 17 00:00:00 2001 From: Tagadda <36127788+Tagadda@users.noreply.github.com> Date: Sun, 10 Jun 2018 12:38:50 +0200 Subject: [PATCH] Some stuff --- index.js | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/index.js b/index.js index 8f22864..be26020 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 -- GitLab