Conversation
topics "special_interest", "geek"; | ||
code_url "https://github.com/duckduckgo/zeroclickinfo-goodies/blob/master/lib/DDG/Goodie/IsAwesome/kirshapps.pm"; | ||
attribution github => ["https://github.com/kirshapps", "kirshapps"], | ||
; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
these two lines should be one line like so:
attribution github => ["https://github.com/kirshapps", "kirshapps"];
[qw( | ||
DDG::Goodie::IsAwesome::kirshapps | ||
)], | ||
'duckduckhack kirshapps' => test_zci('kirshapps is awesome and has successfully completed the DuckDuckHack Goodie tutorial!'), |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can you decapitalize the g in goodie? This is what is making the tests fail.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@javathunderman Probably want to capitilise the "Goodie" in https://github.com/duckduckgo/zeroclickinfo-goodies/pull/1015/files#diff-6afa7237557aa8ba50464e27ce0e8155R16
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Either makes sense...It's up to @kirshapps
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@javathunderman Hate to be that guy..... 😬 As "Goodie" is a proper noun it does start with a capital letter and is included in the tutorial this way, but overall it's a tiny change and either way would work.. 😄
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@MrChrisW You're right, and don't worry...More than usual I am that guy. 😄
Thanks @moollaza, I think I've got it now! |
triggers start => "duckduckhack kirshapps"; | ||
handle remainder => sub { | ||
return if $_; | ||
return "kirshapps is awesome and has successfully completed the DuckDuckHack goodie tutorial!" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@kirshapps Can you fix this hard-tab here? It should be 4 spaces 👍
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Hi @mintsoft. How exactly would I do that?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@kirshapps sorry for the slow reply; you could just delete the tab character and manually type 4 spaces; however the Codio editor should already be configured for spaces/"soft tabs":
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks @mintsoft.
Cool thanks @kirshapps Congrats on your first Goodie! |
@kirshapps congrats! It's live: https://duckduckgo.com/?q=duckduckhack+kirshapps&ia=answer Thanks again for taking the time to contribute! We really appreciate it. Feel free to stick around and comment/help on other PR's & Issues or even submit more Instant Answers! |
What does your Instant Answer do?
It tells people that I am awesome, who would otherwise not know.
What problem does your Instant Answer solve (Why is it better than organic links)?
It tells the world that I am awesome.
What are some example queries that trigger this Instant Answer?
Example: "duckduckhack kirshapps"
Which communities will this Instant Answer be especially useful for? (gamers, book lovers, etc)
This Instant Answer is good for everyone.
Where did you hear about DuckDuckHack? (For first time contributors)
By clicking a link from the DuckDuckGo Search Engine.
What does the Instant Answer look like? (Provide a screenshot for new or updated Instant Answers)
Checklist
Please place an 'X' where appropriate.