Added empty factoid plugin

This commit is contained in:
Chris Sexton 2012-08-26 11:45:04 -04:00
parent 58e95fc0b4
commit c50a908af5
1 changed files with 2 additions and 1 deletions

View File

@ -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)