From 73bc4274db4e3b3683a08149d56c4ca7e5762791 Mon Sep 17 00:00:00 2001 From: Alee Date: Thu, 2 Aug 2018 09:55:09 -0400 Subject: Getting rid of the channelCreate module and added the bash loop script --- run_win.cmd | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) create mode 100644 run_win.cmd (limited to 'run_win.cmd') diff --git a/run_win.cmd b/run_win.cmd new file mode 100644 index 0000000..0da9564 --- /dev/null +++ b/run_win.cmd @@ -0,0 +1,24 @@ +@echo off + +title PokeBot Console + +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 -------------------------------------------------------------------------------- +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 +node bot.js +goto a -- cgit v1.2.3