Documentation ¶
Index ¶
Constants ¶
View Source
const ( CmdPing = "ping" CmdCharacters = "characters" )
View Source
const ( ErrTypeInternalServerError = errTypePrefix + "internal-server-error" ErrTypeUnknownCommand = errTypePrefix + "unknown-command" )
Variables ¶
View Source
var Commands = map[string]*discordgo.ApplicationCommand{ CmdPing: &discordgo.ApplicationCommand{ Description: "Make the bot respond with a pong.", }, CmdCharacters: &discordgo.ApplicationCommand{ Description: "Print character creation availability status of all worlds.", }, }
Functions ¶
This section is empty.
Types ¶
type ErrorResponse ¶
type ErrorResponse struct { Type string `json:"type"` Title string `json:"title,omitempty"` Status int `json:"status,omitempty"` Detail string `json:"detail,omitempty"` Instance string `json:"instance,omitempty"` }
ErrorResponse is an object as defined by RFC 7807.
Click to show internal directories.
Click to hide internal directories.