Respond with ephemeral message to slash command usage

Signed-off-by: Ava Affine <ava@sunnypup.io>
This commit is contained in:
Ava Apples Affine 2025-02-17 20:24:09 -08:00
parent 39cd9f6e01
commit 4ccfd8172a

View file

@ -78,7 +78,11 @@ func handleCommand(s *discordgo.Session, e *discordgo.InteractionCreate) {
}
s.InteractionRespond(e.Interaction, &discordgo.InteractionResponse{
// TODO: Some silent ACK
Type: discordgo.InteractionResponseChannelMessageWithSource,
Data: &discordgo.InteractionResponseData{
Flags: discordgo.MessageFlagsEphemeral,
Content: "Your cauldron bubbles...",
},
})
}