Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ErrorToInteractionResponse ¶
func ErrorToInteractionResponse(err error) *discordgo.InteractionResponse
Types ¶
type SafeError ¶
type SafeError string
SafeError is a friendly error message sent in an interaction response. It should not contain any internal state information. It should take the form of `mfw ...` and be all lower-case.
Click to show internal directories.
Click to hide internal directories.