refactor all feed related into one function

This commit is contained in:
John Facey
2021-12-24 20:01:41 -06:00
parent c688251a01
commit cbb257dfa5
5 changed files with 44 additions and 43 deletions

View File

@@ -4,8 +4,6 @@ module.exports = {
name: 'update',
description: 'Get RSS Source Link',
execute(message, args) {
message.reply(`Updating Sources`);
libFlayer.getConfig();
message.reply(`Loading Feeds from Sources`);
libFlayer.loadFeeds();
feedArray = libFlayer.getFeeds();