summaryrefslogtreecommitdiff
path: root/duck.go
diff options
context:
space:
mode:
Diffstat (limited to 'duck.go')
-rw-r--r--duck.go6
1 files changed, 3 insertions, 3 deletions
diff --git a/duck.go b/duck.go
index 7c534b0..8f45a42 100644
--- a/duck.go
+++ b/duck.go
@@ -9,9 +9,9 @@ import (
type Duck struct{}
-func (_ Duck) WithArgs(_ int) bool { return true }
+func (Duck) WithArgs(_ int) bool { return true }
-func (_ Duck) Handle(conn *irc.Conn, line *irc.Line) {
+func (Duck) Handle(conn *irc.Conn, line *irc.Line) {
if q := strings.SplitN(line.Text(), " ", 2); len(q) == 2 {
if a, err := duck.Abstract(q[1]); err != nil {
conn.Notice(line.Target(), err.Error())
@@ -21,7 +21,7 @@ func (_ Duck) Handle(conn *irc.Conn, line *irc.Line) {
}
}
-func (_ Duck) Help() string {
+func (Duck) Help() string {
return "Perform duckduckgo instant answer search"
}