diff --git a/commands/bank.js b/commands/bank.js index dc7657f..2a88718 100644 --- a/commands/bank.js +++ b/commands/bank.js @@ -4,7 +4,7 @@ module.exports = { name: "bank", debug: false, description: "Manage your banking", - usage: "[cmd] [opt]", + usage: "[cmd] [opt], ephemeral: true", permissions: { channel: ["VIEW_CHANNEL", "SEND_MESSAGES", "EMBED_LINKS"], member: [], diff --git a/commands/inventory.js b/commands/inventory.js index 0cc39ed..310cc7c 100644 --- a/commands/inventory.js +++ b/commands/inventory.js @@ -467,7 +467,7 @@ module.exports = { .setStyle("SUCCESS") ) - interaction.send({ embeds: [prompt], components: [opt] }); + interaction.send({ embeds: [prompt], components: [opt], ephemeral: true }); client.on("interactionCreate", ButtonInteraction => { if(!ButtonInteraction.isButton()) return; diff --git a/commands/search.js b/commands/search.js index 026ab1d..c057580 100644 --- a/commands/search.js +++ b/commands/search.js @@ -117,7 +117,7 @@ module.exports = { itemEmbed.addFields({ name: item.name, value: item.description, inline: false }); } - return interaction.send({ embeds: [itemEmbed] }); + return interaction.send({ embeds: [itemEmbed], ephemeral: true }); } let inventoryEmbed = new MessageEmbed() @@ -131,7 +131,7 @@ module.exports = { description += "```"; inventoryEmbed.setDescription(description); - return interaction.send({ embeds: [inventoryEmbed] }); + return interaction.send({ embeds: [inventoryEmbed], ephemeral: true }); }, }, } \ No newline at end of file diff --git a/commands/settings.js b/commands/settings.js index 6c0a9cd..d03222d 100644 --- a/commands/settings.js +++ b/commands/settings.js @@ -4,7 +4,7 @@ module.exports = { name: "settings", debug: false, description: "Configure your server settings", - usage: "[opt] [action] [value]", + usage: "[opt], ephemeral: true [action] [value]", permissions: { channel: ["VIEW_CHANNEL", "SEND_MESSAGES", "EMBED_LINKS"], member: ["MANAGE_GUILD"], @@ -349,7 +349,7 @@ module.exports = { .setStyle("SUCCESS") ) - interaction.send({ embeds: [prompt], components: [opt] }); + interaction.send({ embeds: [prompt], components: [opt], ephemeral: true }); client.on("interactionCreate", ButtonInteraction => { if(!ButtonInteraction.isButton()) return; @@ -428,7 +428,7 @@ module.exports = { .setStyle("SUCCESS") ) - interaction.send({ embeds: [prompt], components: [opt] }); + interaction.send({ embeds: [prompt], components: [opt], ephemeral: true }); client.on("interactionCreate", ButtonInteraction => { if(!ButtonInteraction.isButton()) return; @@ -507,7 +507,7 @@ module.exports = { .setStyle("SUCCESS") ) - interaction.send({ embeds: [prompt], components: [opt] }); + interaction.send({ embeds: [prompt], components: [opt], ephemeral: true }); client.on("interactionCreate", ButtonInteraction => { if(!ButtonInteraction.isButton()) return; @@ -586,7 +586,7 @@ module.exports = { .setStyle("SUCCESS") ) - interaction.send({ embeds: [prompt], components: [opt] }); + interaction.send({ embeds: [prompt], components: [opt], ephemeral: true }); client.on("interactionCreate", ButtonInteraction => { if(!ButtonInteraction.isButton()) return; @@ -714,7 +714,7 @@ module.exports = { .setStyle("SUCCESS") ) - interaction.send({ embeds: [prompt], components: [opt] }); + interaction.send({ embeds: [prompt], components: [opt], ephemeral: true }); client.on("interactionCreate", ButtonInteraction => { if(!ButtonInteraction.isButton()) return; @@ -788,7 +788,7 @@ module.exports = { .setStyle("SUCCESS") ) - interaction.send({ embeds: [prompt], components: [opt] }); + interaction.send({ embeds: [prompt], components: [opt], ephemeral: true }); client.on("interactionCreate", ButtonInteraction => { if(!ButtonInteraction.isButton()) return; @@ -862,7 +862,7 @@ module.exports = { .setStyle("SUCCESS") ) - interaction.send({ embeds: [prompt], components: [opt] }); + interaction.send({ embeds: [prompt], components: [opt], ephemeral: true }); client.on("interactionCreate", ButtonInteraction => { if(!ButtonInteraction.isButton()) return;