Skip to content

Commit

Permalink
input is lowercase fixes #4
Browse files Browse the repository at this point in the history
  • Loading branch information
notori0us committed Mar 5, 2014
1 parent b3a2b4c commit 7f05cec
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions shibabot.pl
Expand Up @@ -30,6 +30,8 @@ sub said {
$text =~ s/^\.doge\ //;

(my $word) = $text=~/(\w+)/;
# lowercase input
$word = lc($word)


# read through thesaurus to find synonyms
Expand Down

0 comments on commit 7f05cec

Please sign in to comment.