Documentation ¶
Index ¶
- func Register(name string, pg Executer)
- func ReplaceShorthandf(shorthandf string) string
- type Executer
- type Playground
- func (p *Playground) Help() string
- func (p *Playground) List(m *gateway.MessageCreateEvent) (string, error)
- func (p *Playground) Run(m *gateway.MessageCreateEvent, args bot.RawArguments) (*api.SendMessageData, error)
- func (p *Playground) Setup(sub *bot.Subcommand)
- func (p *Playground) Shorthand(m *gateway.MessageCreateEvent, lang string) (string, error)
- type Result
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ReplaceShorthandf ¶
Types ¶
type Playground ¶
func New ¶
func New() *Playground
func (*Playground) Help ¶
func (p *Playground) Help() string
func (*Playground) List ¶
func (p *Playground) List(m *gateway.MessageCreateEvent) (string, error)
func (*Playground) Run ¶
func (p *Playground) Run( m *gateway.MessageCreateEvent, args bot.RawArguments) (*api.SendMessageData, error)
func (*Playground) Setup ¶
func (p *Playground) Setup(sub *bot.Subcommand)
func (*Playground) Shorthand ¶
func (p *Playground) Shorthand(m *gateway.MessageCreateEvent, lang string) (string, error)
Click to show internal directories.
Click to hide internal directories.