Fixed the multiword example in triggers/keywords, I think...

This commit is contained in:
Storm Dragon 2016-09-23 06:07:58 -04:00
parent 9b09081092
commit d3f3642697

View File

@ -21,6 +21,6 @@ fi
done
# Example of dealing with multi word triggers.
if [[ "${wordList//[[:space:]]}" =~ .*nowplaying.* ]]; then
if [[ "${wordList//[[:space:]]/}" =~ nowplaying ]]; then
act "$chan" "cranks the volume up to 11!"
fi