fixing feed loading error

This commit is contained in:
John Facey
2022-06-26 18:29:29 -05:00
parent b73e84f735
commit f1c5ed850b
3 changed files with 15 additions and 7 deletions

View File

@@ -5,7 +5,11 @@ module.exports = {
description: 'Get RSS Source Link',
execute(message, args) {
message.reply(`Loading Feeds from Sources`);
libFlayer.loadFeeds();
try {
libFlayer.loadFeeds();
} catch (error) {
console.log(error);
}
feedArray = libFlayer.getFeeds();
}