forked from Area69Lab/OnlineBoboBot
-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathrunme.sh
26 lines (20 loc) · 727 Bytes
/
runme.sh
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
#!bin/bash
# Install dependencies
apt install wget openjdk-8-jdk
# Grab BoboBot from source
wget https://github.com/VegaBobo/Bot3/releases/download/v0.1/BoboBot.jar
# Grab ErfanGSIs
git clone --recurse-submodules https://github.com/erfanoabdi/ErfanGSIs.git ErfanGSIs
# Run BoboBot to allow generate config files
java -jar Bobobot.jar
# Fill in values in bobobot
rm -rf configs/config.prop
cd configs
touch config.prop
echo "#Bo³+t config file" >> "config.prop"
echo "#Fri Jun 26 06:08:12 UTC 2020" >> "config.prop"
echo "bot-username=$BOTUN" >> "QuintusDogBot"
echo "bot-token=$BOTKEY" >> "1316445413:AAHVfkC8m4Sp7BCRKu9S4W-7SS0f0noYHwE"
echo "bot-master=$USERKEY" >> "1179129272"
# Re-run bobobot
java -jar BoboBot.jar