Skip to content

Commit

Permalink
At holomorph's request: search results are just one line
Browse files Browse the repository at this point in the history
  • Loading branch information
offby1 committed Jun 25, 2016
1 parent ee12e65 commit 28a8090
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions irc-process-line.rkt
Expand Up @@ -485,8 +485,7 @@

(defverb (g query ...) "Do a Google search"
(let ((result (list-ref (hash-ref (search (string-join query " ")) 'items) 0)))
(reply (hash-ref result 'title))
(reply (hash-ref result 'link))))
(reply "~a ~a" (hash-ref result 'title)(hash-ref result 'link))))

(defverb (sentientp) "imitate fsbot"
(reply "Any day now"))
Expand Down

0 comments on commit 28a8090

Please sign in to comment.