From c4f20414b042b79e2076f20416a41015212b6899 Mon Sep 17 00:00:00 2001 From: David Wilkins Date: Tue, 1 Jul 2014 17:58:12 +0800 Subject: [PATCH] Add Hong Kong and Singapore helplines --- lib/DDG/Goodie/HelpLine.pm | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/lib/DDG/Goodie/HelpLine.pm b/lib/DDG/Goodie/HelpLine.pm index 946335608..9fb71b011 100644 --- a/lib/DDG/Goodie/HelpLine.pm +++ b/lib/DDG/Goodie/HelpLine.pm @@ -49,7 +49,7 @@ triggers any => @triggers; zci answer_type => 'helpline'; 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'], twitter => '@areuhappylucia'; 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'], # http://www.suicidepreventionlifeline.org/ and http://org.kidshelpphone.ca/en 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 IE => ['1850 60 90 90', 'Ireland'], # http://www.lifeline.org.nz/corp_Home_378_2001.aspx NZ => ['0800 543 354', 'New Zealand'], # 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'], + # http://www.samaritans.org.sg/contact/confide.htm#call_us + SG => ['1800-221 4444', 'Singapore'], # http://www.suicidepreventionlifeline.org/ US => ['1-800-273-TALK (8255)', 'the U.S.'], );