#!/bin/bash
cd /home/pi/conjurer || exit
git pull
cp ./deploy.sh /home/pi/
cd /home/pi || exit
#cp ./conjurer/bot.py ./Conjurer/ #legacy to be deprecated after refactor is done

cp ./conjurer/fuckery.jpg ./Conjurer/
cp ./conjurer/willowisp.png ./Conjurer/
cp ./conjurer/wod_beacon.jpg ./Conjurer/
cp ./conjurer/settings.json ./Conjurer/

cp ./conjurer/administration_commands.py ./Conjurer/
cp ./conjurer/ai_commands.py ./Conjurer/
cp ./conjurer/ai_functions.py ./Conjurer/
cp ./conjurer/communication_subroutine.py ./Conjurer/
cp ./conjurer/constants.py ./Conjurer/
cp ./conjurer/librarian_commands.py ./Conjurer/
cp ./conjurer/music_commands.py ./Conjurer/
cp ./conjurer/music_functions.py ./Conjurer/
cp ./conjurer/other_commands.py ./Conjurer/
cp ./conjurer/other_functions.py ./Conjurer/
cp ./conjurer/radio_commands.py ./Conjurer/
cp ./conjurer/voice_recognition_commands.py ./Conjurer/
cp ./conjurer/thin_client.py ./Conjurer/bot.py

sudo systemctl restart conjurer.service
