diff --git a/bashbot.sh b/bashbot.sh index 3ed097f..6d9d708 100755 --- a/bashbot.sh +++ b/bashbot.sh @@ -11,6 +11,12 @@ # This file is public domain in the USA and all free countries. # Elsewhere, consider it to be WTFPLv2. (wtfpl.net/txt/copying) +if [ ! -d "JSON.sh" ]; then + echo "You did not clone recursively! Downloading JSON.sh..." + git clone http://github.com/dominictarr/JSON.sh/ + echo "JSON.sh has been downloaded. Proceeding." +fi + source commands.sh source URL='https://api.telegram.org/bot'$TOKEN