Updated to include channel and guild IDs

This commit is contained in:
Logan Cusano
2023-02-25 04:50:51 -05:00
parent 895a9cefbc
commit 541148311a
3 changed files with 28 additions and 23 deletions

View File

@@ -30,7 +30,7 @@ module.exports = {
if (!category) category = "ALL";
libCore.addSource(title, link, category, (err, result) => {
libCore.addSource(title, link, category, interaction.guildId, interaction.channelId, (err, result) => {
console.log("Result from adding entry", result);
if (result) {
@@ -39,7 +39,7 @@ module.exports = {
interaction.reply(`${title} already exists in the list of RSS sources`);
}
libCore.loadFeeds();
libCore.loadFeeds();
});
}catch(err){
log.ERROR(err)