catbase/plugins/plugins.go

16 lines
389 B
Go
Raw Normal View History

2016-01-17 18:00:44 +00:00
// © 2013 the CatBase Authors under the WTFPL. See AUTHORS for the list of authors.
package plugins
2016-01-17 18:00:44 +00:00
import "github.com/velour/catbase/bot"
// Plugin interface defines the methods needed to accept a plugin
type Plugin interface {
Message(message bot.Message) bool
Event(kind string, message bot.Message) bool
BotMessage(message bot.Message) bool
LoadData()
Help()
2013-06-01 17:10:15 +00:00
RegisterWeb()
}