summaryrefslogtreecommitdiff
path: root/theo.go
diff options
context:
space:
mode:
Diffstat (limited to 'theo.go')
-rw-r--r--theo.go20
1 files changed, 20 insertions, 0 deletions
diff --git a/theo.go b/theo.go
new file mode 100644
index 0000000..fe246d7
--- /dev/null
+++ b/theo.go
@@ -0,0 +1,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",
+ },
+ })
+}