2014-12-01 18:17:47 -08:00
|
|
|
package DDG::Goodie::IsAwesome::Bitflipped;
|
2015-03-07 15:45:37 -08:00
|
|
|
# ABSTRACT: Bitflipped's first Goodie
|
2014-12-01 18:17:47 -08:00
|
|
|
|
|
|
|
use DDG::Goodie;
|
2015-03-07 15:39:30 -08:00
|
|
|
use strict;
|
2014-12-01 18:17:47 -08:00
|
|
|
|
2014-12-01 19:00:10 -08:00
|
|
|
zci answer_type => "is_awesome_bitflipped";
|
|
|
|
zci is_cached => 1;
|
2014-12-01 18:17:47 -08:00
|
|
|
|
2014-12-01 19:00:10 -08:00
|
|
|
name "IsAwesome Bitflipped";
|
|
|
|
description "Prints nice message";
|
|
|
|
primary_example_queries "duckduckhack bitflipped";
|
|
|
|
secondary_example_queries "optional -- demonstrate any additional triggers";
|
|
|
|
category "special";
|
|
|
|
topics "special_interest", "geek";
|
|
|
|
code_url "https://github.com/duckduckgo/zeroclickinfo-goodies/blob/master/lib/DDG/Goodie/IsAwesome/Bitflipped.pm";
|
|
|
|
attribution github => ["bitflipped", "Jon A"];
|
2014-12-01 18:17:47 -08:00
|
|
|
|
2014-12-01 19:00:10 -08:00
|
|
|
triggers start => "duckduckhack bitflipped";
|
2014-12-01 18:17:47 -08:00
|
|
|
|
2014-12-03 18:28:04 -08:00
|
|
|
handle remainder => sub {
|
2014-12-01 18:17:47 -08:00
|
|
|
|
|
|
|
return if $_; # Guard against "no answer"
|
|
|
|
|
|
|
|
return "bitflipped is awesome and has successfully completed the DuckDuckHack Goodie tutorial!";
|
|
|
|
};
|
|
|
|
|
|
|
|
1;
|