From d2d729b9c44eb6c09cfbdc113dd9c9d5c4f2640b Mon Sep 17 00:00:00 2001 From: benji7425 Date: Sat, 22 Apr 2017 22:49:46 +0100 Subject: [PATCH] Fix link posting not actually receiving message to post --- index.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/index.js b/index.js index b83b84d..5888984 100644 --- a/index.js +++ b/index.js @@ -16,7 +16,7 @@ module.exports = { //set the interval function to check the feed intervalFunc = () => { Feed.check((err, articles) => { - Links.validate(err, articles, Actions.post); + Links.validate(err, articles, (latestLink) => Actions.post(bot, latestLink)); }); };