SparrowBot/autolaunch.sh
2016-06-20 11:22:20 +02:00

14 lines
303 B
Bash

#!/bin/sh
read -s -p "bot password ?" botpass
mkdir build
while true
do
git pull https://git.epicsparrow.com/Anselme/SparrowBot.git
cd build
qmake-qt5 ../SparrowBot.pro
make
cd bin
./SparrowBot -nogui nick=SirSparrow pass=$botpass chan=epicsparrow server=irc.freenode.net port=6667
cd ../..
done