From 91d21c10766d8578705ee8152ba2a85446320ed6 Mon Sep 17 00:00:00 2001 From: Chris Sexton <3216719+chrissexton@users.noreply.github.com> Date: Fri, 27 Jan 2023 14:11:29 -0500 Subject: [PATCH] cowboy: make message confirmation ephemeral --- plugins/cowboy/cowboy.go | 1 + 1 file changed, 1 insertion(+) diff --git a/plugins/cowboy/cowboy.go b/plugins/cowboy/cowboy.go index 60f15e2..55cfbd0 100644 --- a/plugins/cowboy/cowboy.go +++ b/plugins/cowboy/cowboy.go @@ -204,6 +204,7 @@ func (p *Cowboy) mkOverlayCB(overlay string) func(s *discordgo.Session, i *disco Type: discordgo.InteractionResponseChannelMessageWithSource, Data: &discordgo.InteractionResponseData{ Content: msg, + Flags: discordgo.MessageFlagsEphemeral, }, }) }