mirror of
https://github.com/octoleo/telegram-bot-bash.git
synced 2024-12-29 13:12:36 +00:00
Main script will now download JSON.sh if the user did not clone recursively.
This commit is contained in:
parent
62c3d5eb84
commit
c840e3581e
@ -11,6 +11,12 @@
|
|||||||
# This file is public domain in the USA and all free countries.
|
# This file is public domain in the USA and all free countries.
|
||||||
# Elsewhere, consider it to be WTFPLv2. (wtfpl.net/txt/copying)
|
# 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
|
source commands.sh source
|
||||||
URL='https://api.telegram.org/bot'$TOKEN
|
URL='https://api.telegram.org/bot'$TOKEN
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user