aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTheEdgeNK <trey6979@gmail.com>2018-03-28 13:44:17 -0400
committerTheEdgeNK <trey6979@gmail.com>2018-03-28 13:44:17 -0400
commitb3690be467f151d774a53b95109e55bd03c32bab (patch)
tree6c0329282bea6f65df488a6315b669b641972421
parent7b1138803d887e9b435446330e3d804fd9b5bd96 (diff)
downloadPokeBot-b3690be467f151d774a53b95109e55bd03c32bab.tar.gz
PokeBot-b3690be467f151d774a53b95109e55bd03c32bab.tar.bz2
PokeBot-b3690be467f151d774a53b95109e55bd03c32bab.zip
now the bot needs user input to start
-rw-r--r--run.cmd13
-rw-r--r--runbeta.cmd11
2 files changed, 21 insertions, 3 deletions
diff --git a/run.cmd b/run.cmd
index 37b76e4..0da9564 100644
--- a/run.cmd
+++ b/run.cmd
@@ -6,8 +6,17 @@ echo Welcome to the PokeBot Beta Console.
echo If you want to self-host this bot, please continue by executing the following steps:
echo 1. You may need to go into the code and comment out anything that relates to Discord Bot List, as this will cause errors when self-hosting.
echo 2. Create a config.json file and include the token of your bot user so that the bot does not error out when connecting to Discord Servers.
-echo 3. You will need to edit this file that you ran, and remove the "git pull" line. This causes errors as it will try to pull from the PokeBot git.
-echo 4. Finally, you must credit the developers (Universe Development Group or PokeWorld Administrators will work fine).
+echo 3. You will need to edit this file that you ran, and remove the 'git pull" line. This causes errors as it will try to pull from the PokeBot git.
+echo 4. Finally, you must credit the developers (Universe Development Group or PokeWorld Administrators will work fine).
+echo --------------------------------------------------------------------------------
+echo To start the bot when you are ready, type in 'Yes'.
+set /p start=
+
+if %start% == Yes goto a
+
+echo Exiting...
+pause
+exit
:a
git pull
diff --git a/runbeta.cmd b/runbeta.cmd
index 13c0c2b..82c8938 100644
--- a/runbeta.cmd
+++ b/runbeta.cmd
@@ -6,8 +6,17 @@ echo Welcome to the PokeBot Beta Console.
echo If you want to self-host this bot, please continue by executing the following steps:
echo 1. You may need to go into the code and comment out anything that relates to Discord Bot List, as this will cause errors when self-hosting.
echo 2. Create a config.json file and include the token of your bot user so that the bot does not error out when connecting to Discord Servers.
-echo 3. You will need to edit this file that you ran, and remove the "git pull" line. This causes errors as it will try to pull from the PokeBot git.
+echo 3. You will need to edit this file that you ran, and remove the 'git pull' line. This causes errors as it will try to pull from the PokeBot git.
echo 4. Finally, you must credit the developers (Universe Development Group or PokeWorld Administrators will work fine).
+echo --------------------------------------------------------------------------------
+echo To start the bot when you are ready, type in 'Yes'.
+set /p start=
+
+if %start% == Yes goto a
+
+echo Exiting...
+pause
+exit
:a
git pull