fix: displayed result of the command in public
This commit is contained in:
parent
831f8be7c9
commit
c2fdd44901
@ -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});
|
||||
},
|
||||
};
|
||||
|
@ -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});
|
||||
},
|
||||
};
|
||||
|
Loading…
Reference in New Issue
Block a user