Fixed a call to an old, non-existant method

This commit is contained in:
benji7425 2016-12-02 00:51:40 +00:00
parent 4d64ee7da2
commit 9c4a569242

View file

@ -43,12 +43,12 @@ Dns.resolve("discordapp.com", function (err) {
//when the bot is ready, set a polling interval for the rss feed //when the bot is ready, set a polling interval for the rss feed
bot.on("ready", function () { 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 //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){ if(!timer){
setInterval(checkFeedAndPost, Config.pollingInterval); setInterval(checkFeedAndPost, Config.pollingInterval);