Working RSS Feeds

- Need to get worker in the background to update the sources
This commit is contained in:
Logan Cusano
2023-02-25 19:51:49 -05:00
parent ae071be8b8
commit d33f1ceccc
9 changed files with 218 additions and 250 deletions

View File

@@ -20,14 +20,13 @@ module.exports = {
var title = interaction.options.getString("title");
libCore.deleteSource(title, (err, result) => {
console.log("Result from removing entry", result);
log.DEBUG("Result from removing entry", result);
if (result) {
interaction.reply(`Removing ${title} from the list of RSS sources`);
} else {
interaction.reply(`${title} does not exist in the list of RSS sources`);
}
libCore.loadFeeds();
});
}catch(err){
log.ERROR(err)