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
1 changed files with 3 additions and 3 deletions

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
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);