Updated joke module.
This commit is contained in:
Executable
+6
@@ -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"
|
||||||
Reference in New Issue
Block a user