Skip to content

Commit

Permalink
make list ephemeral
Browse files Browse the repository at this point in the history
  • Loading branch information
jmhayes3 committed Aug 23, 2024
1 parent eb07bb1 commit 841a128
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions commands/core/binks.js → commands/core/about.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,11 +3,11 @@ const { readFile } = require('fs/promises');

module.exports = {
data: new SlashCommandBuilder()
.setName('binks')
.setName('about')
.setDescription('About.'),
async execute(interaction) {
// const image_file = await readFile('./data/image.jpg');
// const attachment = new AttachmentBuilder(image_file, { name: 'data/image.jpg' });
await interaction.reply({ content: "I am binks, an AI-assisted chatbot.", ephemeral: true });
await interaction.reply({ content: "I am Binks, an AI-assisted chatbot.", ephemeral: true });
},
};
2 changes: 1 addition & 1 deletion commands/core/list.js
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,6 @@ module.exports = {
const assistants = await getAssistants();
const reply = assistants.join("\n");

await interaction.followUp({ content: reply });
await interaction.followUp({ content: reply, ephemeral: true });
},
};

0 comments on commit 841a128

Please sign in to comment.