Documentation
¶
Index ¶
- Variables
- func EphemeralMessageContent(content string) discord.MessageCreate
- func EphemeralMessageContentf(content string, fmtArgs ...any) discord.MessageCreate
- func SendDirectMessage(client *bot.Client, user discord.User, messageCreate discord.MessageCreate) (*discord.Message, error)
- type AppCommandRegisterer
- type ApplicationCommandRegisterFunc
- type DMError
Constants ¶
This section is empty.
Variables ¶
View Source
var ErrEventNoGuildID = errors.New("no guild id found in event")
Functions ¶
func EphemeralMessageContent ¶
func EphemeralMessageContent(content string) discord.MessageCreate
func EphemeralMessageContentf ¶
func EphemeralMessageContentf(content string, fmtArgs ...any) discord.MessageCreate
Types ¶
type AppCommandRegisterer ¶
type AppCommandRegisterer interface {
Register(r *handler.Mux) []discord.ApplicationCommandCreate
}
type ApplicationCommandRegisterFunc ¶
type ApplicationCommandRegisterFunc func(r *handler.Mux) []discord.ApplicationCommandCreate
func (ApplicationCommandRegisterFunc) Register ¶
func (f ApplicationCommandRegisterFunc) Register(r *handler.Mux) []discord.ApplicationCommandCreate
Click to show internal directories.
Click to hide internal directories.