Made now playing a little more responsive.
This commit is contained in:
parent
a30052fa82
commit
6712003387
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user