Fixed url for yomomma api.
This commit is contained in:
parent
85e832d625
commit
221e14a85a
@ -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"
|
||||
|
Loading…
Reference in New Issue
Block a user