From 9c4a569242e63bbeedd2f2d7c9a77c9692453dd8 Mon Sep 17 00:00:00 2001 From: benji7425 Date: Fri, 2 Dec 2016 00:51:40 +0000 Subject: [PATCH] Fixed a call to an old, non-existant method --- feed-bot.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/feed-bot.js b/feed-bot.js index c423aa6..bf8c5e3 100644 --- a/feed-bot.js +++ b/feed-bot.js @@ -43,12 +43,12 @@ Dns.resolve("discordapp.com", function (err) { //when the bot is ready, set a polling interval for the rss feed bot.on("ready", function () { - log.info("Registered bot " + bot.username + " - (" + bot.id + ")"); + log.info("Registered bot " + bot.username + " - (" + bot.id + ")"); //as we don't have any links cached, we need to check recent messages - checkPreviousMessagesForLinks(); + checkPreviousMessagesForLinks(); - logEvent("Setting up timer to check feed every " + Config.pollingInterval + " milliseconds"); + log.info("Setting up timer to check feed every " + Config.pollingInterval + " milliseconds"); if(!timer){ setInterval(checkFeedAndPost, Config.pollingInterval);