aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--.gitignore5
-rw-r--r--run_win.bat23
2 files changed, 25 insertions, 3 deletions
diff --git a/.gitignore b/.gitignore
index 9301d8d..7d59c6c 100644
--- a/.gitignore
+++ b/.gitignore
@@ -3,8 +3,6 @@ node_modules/
absettings\.json
-run.bat
-
ffmpeg.exe
ffplay.exe
@@ -12,4 +10,5 @@ ffplay.exe
ffprobe.exe
.directory
-userData.sqlite
+
+userData.sqlite
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