Yo Momma module added.

This commit is contained in:
Storm Dragon 2017-04-15 21:19:05 -04:00
parent c1c2391cc6
commit 640d79973e

5
modules/yomomma/yomomma.sh Executable file
View File

@ -0,0 +1,5 @@
[ -f functions.sh ] && source functions.sh
joke="$(curl -s api.yomomma.info | sed -e 's/{"joke":"//' -e 's/"}$//')"
joke="${joke//[[:space:]]/ }"
msg "$2" "$joke"