diff --git a/bot.js b/bot.js index 9079240..0a3125b 100644 --- a/bot.js +++ b/bot.js @@ -1,5 +1,4 @@ const request = require("sync-request"); -const moment = require("moment"); const config = require("./config.json"); const channels = require("./channels.json"); @@ -43,6 +42,7 @@ function checkChannel(id) { console.log(`${id} is up to date`); } } else { + console.log(`${id} is a new channel`); request("PUT", `http://localhost:7020/api/kv/${key}`, { body: `${lastEntry.id}`, });