Browse Source

Fix past links not being checked when a new feed is added

master
benji7425 4 years ago
parent
commit
332a48f841
  1. 3
      app/index.js

3
app/index.js

@ -50,7 +50,8 @@ function addFeed({ command, params, guildData, botName, message, coreClient }) {
guildData = new GuildData({ id: message.guild.id, feeds: [] });
guildData.feeds.push(feedData);
resolve("Your new feed has been saved!");
guildData.cachePastPostedLinks(message.guild)
.then(() => resolve("Your new feed has been saved!"));
}
else
reject("Your feed has not been saved, please add it again with the correct details");

Loading…
Cancel
Save