Merge pull request #525 from wilkox/additional_helplines

Add Hong Kong and Singapore helplines
master
Jag Talon 2014-07-01 07:13:41 -04:00
commit 16ccffb07a
1 changed files with 5 additions and 1 deletions

View File

@ -49,7 +49,7 @@ triggers any => @triggers;
zci answer_type => 'helpline'; zci answer_type => 'helpline';
primary_example_queries 'suicide hotline'; primary_example_queries 'suicide hotline';
description 'Checks if a query with the word "suicide" was made in the U.S. and returns a 24 hr suicide hotline.'; description 'Checks if a query with the word "suicide" was made and returns a 24 hr suicide hotline.';
attribution github => ['https://github.com/conorfl', 'conorfl'], attribution github => ['https://github.com/conorfl', 'conorfl'],
twitter => '@areuhappylucia'; twitter => '@areuhappylucia';
code_url 'https://github.com/duckduckgo/zeroclickinfo-goodies/blob/master/lib/DDG/Goodie/Helpline.pm'; code_url 'https://github.com/duckduckgo/zeroclickinfo-goodies/blob/master/lib/DDG/Goodie/Helpline.pm';
@ -62,12 +62,16 @@ my %helpline = (
AU => ['13 11 14 or 1800 55 1800 (kids)', 'Australia'], AU => ['13 11 14 or 1800 55 1800 (kids)', 'Australia'],
# http://www.suicidepreventionlifeline.org/ and http://org.kidshelpphone.ca/en # http://www.suicidepreventionlifeline.org/ and http://org.kidshelpphone.ca/en
CA => ['1-800-273-8255 or 1-800-668-6868 (kids)', 'Canada'], CA => ['1-800-273-8255 or 1-800-668-6868 (kids)', 'Canada'],
# http://samaritans.org.hk/24-hour-telephone-hotline (supports English, Cantonese and Mandarin)
HK => [ '2896 0000', 'Hong Kong'],
# http://www.samaritans.org/how-we-can-help-you/contact-us # http://www.samaritans.org/how-we-can-help-you/contact-us
IE => ['1850 60 90 90', 'Ireland'], IE => ['1850 60 90 90', 'Ireland'],
# http://www.lifeline.org.nz/corp_Home_378_2001.aspx # http://www.lifeline.org.nz/corp_Home_378_2001.aspx
NZ => ['0800 543 354', 'New Zealand'], NZ => ['0800 543 354', 'New Zealand'],
# http://www.papyrus-uk.org/, http://www.samaritans.org/, and http://www.thecalmzone.net/help/helpline/helpline-nationwide/ # http://www.papyrus-uk.org/, http://www.samaritans.org/, and http://www.thecalmzone.net/help/helpline/helpline-nationwide/
GB => ['0800 068 41 41, 08457 90 90 90, or 0800 58 58 58', 'the UK'], GB => ['0800 068 41 41, 08457 90 90 90, or 0800 58 58 58', 'the UK'],
# http://www.samaritans.org.sg/contact/confide.htm#call_us
SG => ['1800-221 4444', 'Singapore'],
# http://www.suicidepreventionlifeline.org/ # http://www.suicidepreventionlifeline.org/
US => ['1-800-273-TALK (8255)', 'the U.S.'], US => ['1-800-273-TALK (8255)', 'the U.S.'],
); );