duckduckgo/zeroclickinfo-spice — pull request #1058 by csytan (2014-09-03 02:24:38+00:00)
Title: DuckSay Instant Answer

![screen shot 2014-09-02 at 10 22 14 pm](https://cloud.githubusercontent.com/assets/16357/4128742/2d85bcfc-3311-11e4-9633-dbf51411d8d4.png)

**What does your instant answer do?**
It's like cowsay but with a duck instead of a cow.

Search for `ducksay` to get a random duck joke from reddit with a (mostly) ASCII duck drawing. You can also use your own custom text like so: `ducksay hello world!`.

**What problem does your instant answer solve (Why is it better than organic links)?**

When `fortune | cowsay` doesn't cut it, `ducksay` is there for you.

**What is the data source for your instant answer? (Provide a link if possible)**

http://www.reddit.com/r/jokes

**Why did you choose this data source?**

It's a good source for duck jokes.

**Are there any other alternative (better) data sources?**

Maybe.

**What are some example queries that trigger this instant answer?**

ducksay
ducksay hello world!

**Which communities will this instant answer be especially useful for? (gamers, book lovers, etc)**

People who like cowsay, but want something more duck themed.

**Is this instant answer connected to a DuckDuckHack [instant answer idea](https://duck.co/ideas)?**

No.

**Which existing instant answers will this one supersede/overlap with?**

None that I know of.

**Are you having any problems? Do you need our help with anything?**

When running ducksay with an input, (e.g. `ducksay hello world`) there is a javascript template error. I'm not sure what is causing it.

![screen shot 2014-09-02 at 10 20 52 pm](https://cloud.githubusercontent.com/assets/16357/4128723/f9a55d70-3310-11e4-9f4a-54ebb5be6db6.png)

**\*\*Note:** Please attach a screenshot for new instant answer pull requests, and for pull requests which modify the look/design of existing instant answers.

## Checklist
Please place an 'X' where appropriate.

```
[x] Added metadata and attribution information
[x] Wrote test file and added to t/ directory
[x] Verified that instant answer adheres to design guidelines (https://duck.co/duckduckhack/design_styleguide)
[x] Verified that instant answer adheres to code styleguide (https://duck.co/duckduckhack/code_styleguide)
[] Tested cross-browser compatibility

Please let us know which browsers/devices you've tested on:
- Windows 8
[] Google Chrome
[] Firefox
[] Opera
[] IE 10

- Windows 7
[] Google Chrome
[] Firefox
[] Opera
[] IE 8
[] IE 9
[] IE 10

- Windows XP
[] IE 7
[] IE 8

- Mac OSX
[x] Google Chrome
[] Firefox
[] Opera
[] Safari

- iOS (iPhone)
[] Safari Mobile
[] Google Chrome
[] Opera

- iOS (iPad)
[] Safari Mobile
[] Google Chrome
[] Opera

- Android
[] Firefox
[] Native Browser
[] Google Chrome
[] Opera
```