From 13077684aa8e13c44105bede0451dcc47abc14f7 Mon Sep 17 00:00:00 2001 From: Edgar Date: Mon, 29 Nov 2021 21:04:02 +0100 Subject: [PATCH] :bug: Fixed bot.js --- bot.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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}`, });