Created
December 7, 2016 03:43
-
-
Save GnosisMediaGroup/357b2c8ee4e271c6c11b095e667cfbd9 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#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