aboutsummaryrefslogtreecommitdiff
path: root/run_win.bat
diff options
context:
space:
mode:
authorAlee <alee14498@gmail.com>2018-04-15 15:11:29 -0400
committerAlee <alee14498@gmail.com>2018-04-15 15:11:29 -0400
commite31f76d37ae213498e659a082e7378cfde619920 (patch)
tree1f166aac0a01bab5ebcea9932686c6a84ebcd752 /run_win.bat
parenta39f1551a54ae5cae9ac3a3767c3fe1b0a414f19 (diff)
downloadAleeBot-e31f76d37ae213498e659a082e7378cfde619920.tar.gz
AleeBot-e31f76d37ae213498e659a082e7378cfde619920.tar.bz2
AleeBot-e31f76d37ae213498e659a082e7378cfde619920.zip
Run script
Diffstat (limited to 'run_win.bat')
-rw-r--r--run_win.bat23
1 files changed, 23 insertions, 0 deletions
diff --git a/run_win.bat b/run_win.bat
new file mode 100644
index 0000000..aee8a5b
--- /dev/null
+++ b/run_win.bat
@@ -0,0 +1,23 @@
+@echo off
+title AleeBot Console
+
+echo Welcome to the AleeBot Beta Console.
+echo If you want to self-host this bot, please continue by executing the following steps:
+echo 1. Create a absettings.json file and include the token of your bot user so that the bot does not error out when connecting to Discord Servers.
+echo 2. 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 AleeBot git.
+echo 3. Finally, you must credit the developers (AleeCorp Developers will work fine).
+echo --------------------------------------------------------------------------------
+echo To start the bot when you are ready, type in 'Yes'.
+set /p start=
+
+if %start% == Yes goto a
+if %start% == yes goto a
+if %start% == y goto a
+
+echo Exiting...
+pause>nul
+exit
+:a
+git pull
+node bot_discord.js
+goto a \ No newline at end of file