summaryrefslogtreecommitdiff
path: root/theo.go
blob: fe246d7e231dc86ee37be18b34142c9000d7b2ca (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
package main

import (
	"dim13.org/theo"
	irc "github.com/fluffle/goirc/client"
)

type Theo struct{ Command }

func (_ Theo) Handle(conn *irc.Conn, line *irc.Line) {
	conn.Privmsg(line.Target(), theo.Theo())
}

func init() {
	Register("theo", &Theo{
		Command{
			Help: "Quote Theo De Raadt",
		},
	})
}