Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func EditResponse ¶
func EditResponse(s *discordgo.Session, i *discordgo.InteractionCreate, embeds []*discordgo.MessageEmbed, components []discordgo.MessageComponent)
func SendEphemeralResponse ¶
func SendEphemeralResponse(s *discordgo.Session, i *discordgo.InteractionCreate, msg string)
SendEphemeralResponse is a utility routine used to send an ephemeral response to a user's message or button press. It is shorthand for SendMessage(s, i, msg, true).
func SendResponse ¶
func SendResponse(s *discordgo.Session, i *discordgo.InteractionCreate, msg string, ephemeral ...bool)
SendResponse sends a response to a user interaction. The message can ephemeral or non-ephemeral, depending on whether the ephemeral boolean is set to `true`.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.