Made now playing a little more responsive.

This commit is contained in:
Storm Dragon 2020-12-01 20:48:26 -05:00
parent a30052fa82
commit 6712003387

View File

@ -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