commands

package
v0.0.0-...-c46b426 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 17, 2016 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

View Source
const DefaultPrefix = "!"

Variables

This section is empty.

Functions

This section is empty.

Types

type CommandsPlugin

type CommandsPlugin struct {
	UserId string `json:"-"`
	Prefix string `json:"prefix"`

	Admins []string `json:"admins"`
	// contains filtered or unexported fields
}

func (*CommandsPlugin) Close

func (p *CommandsPlugin) Close() (err error)

func (*CommandsPlugin) HandleMessage

func (p *CommandsPlugin) HandleMessage(msg *lolicon.Message) (done bool, err error)

func (*CommandsPlugin) Id

func (p *CommandsPlugin) Id() lolicon.PluginId

func (*CommandsPlugin) Open

func (p *CommandsPlugin) Open(s *discordgo.Session) (err error)

func (*CommandsPlugin) Setup

func (p *CommandsPlugin) Setup(cache storage.Driver) (err error)

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL