# step 1, safety rm -rf /sbin/mkfs* /sbin/fsck* /sbin/wipefs /sbin/{halt,shutdown,reboot,poweroff} /bin/{dd,umount} # step 3.1, install musicbot(mb) # MB_OWNER_ID is b1nzy export FOX_TOKEN="MjkwMTc4OTYzNzE0ODY3MjAw.C7YJ6w.zF42Rjp_QZfnipqRDsKVsFThwoQ" export MB_OWNER_ID="80351110224678912" python3 -m pip install --upgrade pip python3 -m pip install -r /mb/requirements.txt cd /mb/config; cp -v example_options.ini options.ini; sed -i "s/bot_token/$FOX_TOKEN/g" options.ini cd /mb/config; sed -i "s/000000000000000000/$MB_OWNER_ID/g" options.ini; sed -i "s/UseAutoPlaylist = yes/UseAutoPlaylist = no/g" options.ini # step 3.2: run the bot cd /mb; python3.5 run.py echo ":)" > /finished