summaryrefslogtreecommitdiff
path: root/theo.go
blob: cb1bc89153df3475bda2b914aabc393e3ede0b46 (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.Notice(line.Target(), theo.Quote())
}

func (_ Theo) Help() string {
	return "Quote Theo De Raadt"
}

func init() {
	Register("theo", &Theo{})
}