msg

package
v0.0.0-...-82a33b0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 8, 2024 License: BSD-3-Clause Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

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.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL