diff --git a/commands/get.js b/commands/get.js index f626874..f3873ad 100644 --- a/commands/get.js +++ b/commands/get.js @@ -10,9 +10,9 @@ module.exports = { return; } var search = args[0]; - + var catName = "All"; var feedArray = libFlayer.getFeeds(); - message.reply(`Retrieving: [Link](${feedArray[search].link})`); + message.reply(`Retrieving: [${catName}] (${feedArray[search].link})`); } }; \ No newline at end of file diff --git a/commands/sources.js b/commands/sources.js index fe399e5..111f0bb 100644 --- a/commands/sources.js +++ b/commands/sources.js @@ -6,9 +6,11 @@ module.exports = { execute(message, args) { var sourceArray = libFlayer.getSources(); + var sourceString = ""; sourceArray.forEach(source => { - message.reply(`[${source.title}](${source.link})`); + sourceString +=`[${source.title}](${source.link}) `; }); + message.reply(sourceString); } }; \ No newline at end of file