Update object name message to interaction
This commit is contained in:
@@ -23,7 +23,7 @@ module.exports = {
|
||||
var feedArray = libCore.getFeeds(category);
|
||||
var i = Math.floor(Math.random() * (feedArray.length - 0) + 0);
|
||||
|
||||
await message.reply(`**Retrieved**: [${category}](${feedArray[i].link})`);
|
||||
await interaction.reply(`**Retrieved**: [${category}](${feedArray[i].link})`);
|
||||
} catch (err) {
|
||||
log.ERROR(err)
|
||||
//await interaction.reply(err.toString());
|
||||
|
||||
Reference in New Issue
Block a user