iTranslated by AI
The content below is an AI-generated translation. This is an experimental feature, and may contain errors. View original article
💎
Displaying Ephemeral Messages in Sapphire
Problem
You know that common way to display messages with bots? I couldn't find anything about it even when searching for Sapphire.
I'm writing this as a reminder for myself.
Solution
return interaction.reply({ content: 'Hello world!' });
to
return interaction.reply({
content: 'Hello world!',
flags: MessageFlags.Ephemeral
});
like this.
Summary
Slash commands are the best...
Discussion