kudos

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: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type KudosPlugin

type KudosPlugin struct {
	LogFile string         `json:"log_file"`
	Kudos   map[string]int `json:"kudos"`
	// contains filtered or unexported fields
}

func (*KudosPlugin) Close

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

func (*KudosPlugin) HandleMessage

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

func (*KudosPlugin) Help

func (p *KudosPlugin) Help() map[string]string

func (*KudosPlugin) Id

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

func (*KudosPlugin) Open

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

func (*KudosPlugin) Setup

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

Jump to

Keyboard shortcuts

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