Fixed url for yomomma api.

This commit is contained in:
Storm Dragon 2022-02-22 05:18:14 -05:00
parent 85e832d625
commit 221e14a85a
1 changed files with 1 additions and 1 deletions

View File

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