#!/bin/bash

git pull

mkdir -p install

cp bot.conf install/
cp start.sh install/

cargo update
cargo build --release

sudo systemctl stop music-bot

cp target/release/RMusicBot install/

sudo systemctl start music-bot
