Example code showing how to respond to a slash command with an ephemeral follow up message only visible to the person who triggered the command.
const lib = require('lib')({token: process.env.STDLIB_SECRET_TOKEN});
await lib.discord.interactions['@0.0.0'].followups.ephemeral.create({
token: `${context.params.event.token}`,
content: `Here's an ephemeral follow up message!`,
embeds: [{
title: 'You can add embeds, buttons, and other components to the followup message!',
description: 'And even file attachments!',
color: 0x00aa00
}]
});