mirror of https://github.com/velour/catbase.git
Added empty factoid plugin
This commit is contained in:
parent
58e95fc0b4
commit
c50a908af5
3
main.go
3
main.go
|
@ -43,10 +43,11 @@ func main() {
|
||||||
|
|
||||||
b := bot.NewBot(config, c)
|
b := bot.NewBot(config, c)
|
||||||
// b.AddHandler(plugins.NewTestPlugin(b))
|
// b.AddHandler(plugins.NewTestPlugin(b))
|
||||||
b.AddHandler("skeleton", plugins.NewSkeletonPlugin(b))
|
|
||||||
b.AddHandler("talker", plugins.NewTalkerPlugin(b))
|
b.AddHandler("talker", plugins.NewTalkerPlugin(b))
|
||||||
b.AddHandler("beers", plugins.NewBeersPlugin(b))
|
b.AddHandler("beers", plugins.NewBeersPlugin(b))
|
||||||
b.AddHandler("remember", plugins.NewRememberPlugin(b))
|
b.AddHandler("remember", plugins.NewRememberPlugin(b))
|
||||||
|
b.AddHandler("factoid", plugins.NewFactoidPlugin(b))
|
||||||
|
b.AddHandler("skeleton", plugins.NewSkeletonPlugin(b))
|
||||||
|
|
||||||
c.AddHandler("ACTION", func(conn *irc.Conn, line *irc.Line) {
|
c.AddHandler("ACTION", func(conn *irc.Conn, line *irc.Line) {
|
||||||
b.MsgRecieved(conn, line)
|
b.MsgRecieved(conn, line)
|
||||||
|
|
Loading…
Reference in New Issue