Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func FindEventFrom ¶
func FindEventFrom(props map[string]interface{}) (*discordgo.MessageCreate, error)
FindEventFrom is a function that finds Event from props
Types ¶
type EchoHandler ¶
type EchoHandler struct { Command *cmdr.Command UseCase echo.UseCase Presenter *EchoPresenter HelpPresenter cmdr.CommandHelpPresenter }
EchoHandler is a struct that implements CommandHandler interface
func (*EchoHandler) Handle ¶
func (eh *EchoHandler) Handle(ctx *cmdr.Context)
Handle is a method that implements CommandHandler's Handle method
type EchoPresenter ¶
type EchoPresenter struct { Session *discordgo.Session Event *discordgo.MessageCreate }
EchoPresenter is a struct that implements echo.Presenter interface
func (*EchoPresenter) Echo ¶
func (p *EchoPresenter) Echo(contents string)
Echo is a method that implements echo.Presenter's Echo method
type HelpPresenter ¶
type HelpPresenter struct{}
HelpPresenter is a struct that implements cmdr.CommandHelpPresenter interface
Click to show internal directories.
Click to hide internal directories.