diff --git a/triggers/keywords/keywords.sh b/triggers/keywords/keywords.sh index 93a2b26..075fc29 100755 --- a/triggers/keywords/keywords.sh +++ b/triggers/keywords/keywords.sh @@ -74,7 +74,7 @@ done # Example of dealing with multi word triggers. # Reset wordList without sorting it and with spaces removed. wordList="$(echo "${@,,}" | tr -d '[:space:]')" -if [[ "$wordList" =~ .*nowplaying:.*-.* ]]; then +if [[ "${wordList,,}" =~ .*nowplaying:.* ]]; then if [ "$who" = "lilmike" ]; then msg "$chan" "Ewww, it sounds like 2 robots making out!" else