Main script will now download JSON.sh if the user did not clone recursively.

This commit is contained in:
topkecleon 2016-04-19 05:59:37 -04:00
parent 62c3d5eb84
commit c840e3581e
1 changed files with 6 additions and 0 deletions

View File

@ -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