fix: displayed result of the command in public
This commit is contained in:
1 parent
831f8be7c9
commit
c2fdd44901
2 files changed
+2
-2
No files matched your search
+1
-1
@@ -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});
|
||||
},
|
||||
};
|
||||
+1
-1
@@ -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});
|
||||
},
|
||||
};
|
||||
Reference in new issue
Block a user