Updated to include channel and guild IDs
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user