diff --git a/commands/server.js b/commands/server.js index 9f66913..668b5dc 100644 --- a/commands/server.js +++ b/commands/server.js @@ -5,6 +5,6 @@ module.exports = { .setName('server') .setDescription('Replies with Server info!'), async execute(interaction) { - await interaction.reply(`Server name: ${interaction.guild.name}\nTotal members: ${interaction.guild.memberCount}`); + await interaction.reply({content:`Server name: ${interaction.guild.name}\nTotal members: ${interaction.guild.memberCount}` , ephemeral:true}); }, }; diff --git a/commands/user.js b/commands/user.js index 03145cd..7d6ddd3 100644 --- a/commands/user.js +++ b/commands/user.js @@ -5,6 +5,6 @@ module.exports = { .setName('user') .setDescription('Replies with User info!'), async execute(interaction) { - await interaction.reply(`Your tag: ${interaction.user.tag}\nYour id: ${interaction.user.id}`); + await interaction.reply({content: 'Your tag: ${interaction.user.tag}\nYour id: ${interaction.user.id}', ephemeral:true}); }, };