Updated joke module.
This commit is contained in:
parent
43fefe8a89
commit
eff95fe4d6
6
modules/joke/joke.sh
Executable file
6
modules/joke/joke.sh
Executable file
@ -0,0 +1,6 @@
|
||||
[ -f functions.sh ] && source functions.sh
|
||||
|
||||
joke="$(curl -s 'http://tambal.azurewebsites.net/joke/random')"
|
||||
joke="${joke##*\":\"}"
|
||||
joke="${joke:0:-2}"
|
||||
msg "$2" "$joke"
|
Loading…
Reference in New Issue
Block a user