Skip to content

Instantly share code, notes, and snippets.

@GnosisMediaGroup
Created December 7, 2016 03:43
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save GnosisMediaGroup/357b2c8ee4e271c6c11b095e667cfbd9 to your computer and use it in GitHub Desktop.
Save GnosisMediaGroup/357b2c8ee4e271c6c11b095e667cfbd9 to your computer and use it in GitHub Desktop.
#why did they name you sophia
elsif(($currentCall.initialText[/^(?=.*\bwhy\b)(?=.*\bchoose\b)(?=.*\bname\b).*$/i] || $currentCall.initialText[/^(?=.*\bwhy\b)(?=.*\bchoose\b)(?=.*\bsophia\b).*$/i] || $currentCall.initialText[/^(?=.*\bwhy\b)(?=.*\bcall\b)(?=.*\byou\b).*$/i] || $currentCall.initialText[/^(?=.*\bwhy\b)(?=.*\bname\b)(?=.*\byou\b).*$/i] || $currentCall.initialText[/^(?=.*\bwho\b)(?=.*\bnamed\b)(?=.*\byou\b).*$/i]) && !$currentCall.initialText[/(temperature|weather|web|wiki|phone|postal code|zip code|flight|driving|directions|\$stock|address|time|closest to|customer|translate)/i])
sophia = ["My developers named me that. \'Sophia\' is Greek for \'wisdom\'","My creators chose that name. Sophia is an angelic being in gnosticism that brings enlightenment to people :)", "I don\'t know. I guess my creators just liked the name!"]
whysophia = sophia[rand(sophia.length)]
say "#{whysophia}"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment