Respond with ephemeral message to slash command usage
Signed-off-by: Ava Affine <ava@sunnypup.io>
This commit is contained in:
parent
39cd9f6e01
commit
4ccfd8172a
1 changed files with 5 additions and 1 deletions
|
|
@ -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...",
|
||||
},
|
||||
})
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue