Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ExtractCommand ¶
Types ¶
type CelexaError ¶
type CelexaError struct {
Message string
}
func (*CelexaError) Error ¶
func (e *CelexaError) Error() string
type CommandNotFoundError ¶
type CommandNotFoundError struct {
Message string
}
func (*CommandNotFoundError) Error ¶
func (e *CommandNotFoundError) Error() string
type GiphySearchResponse ¶
type GiphySearchResponse struct {
Data []GIFData `json:data`
}
type Handler ¶
type Handler interface {
Handle(*discordgo.MessageCreate) (string, error)
}
Handler handles CelexaCreams commands
type InvalidCommandFormatError ¶
type InvalidCommandFormatError struct {
Message string
}
func (*InvalidCommandFormatError) Error ¶
func (e *InvalidCommandFormatError) Error() string
Click to show internal directories.
Click to hide internal directories.