From 5fe432b7c1d6d626699e8091005a0de788d8168a Mon Sep 17 00:00:00 2001 From: Dimitri Sokolyuk Date: Tue, 20 Dec 2016 23:05:09 +0100 Subject: links --- blame.go | 26 -------------------------- 1 file changed, 26 deletions(-) delete mode 100644 blame.go (limited to 'blame.go') diff --git a/blame.go b/blame.go deleted file mode 100644 index 094a45f..0000000 --- a/blame.go +++ /dev/null @@ -1,26 +0,0 @@ -package main - -import ( - irc "github.com/fluffle/goirc/client" -) - -type Blame struct{} - -func (Blame) Handle(conn *irc.Conn, line *irc.Line) { - src := []string{ - "Author: Dimitri Sokolyuk ", - "Source: http://git.dim13.org/bot.git", - "Install: go get dim13.org/bot", - } - for _, s := range src { - conn.Notice(line.Nick, s) - } -} - -func (Blame) String() string { - return "Blame author and return link to source code" -} - -func init() { - Register("blame", &Blame{}) -} -- cgit v1.2.3