The official Discord bot for the pixray API (in beta). Based on pixray by Tom White.
- Docker
-
Update and upgrade.
sudo apt-get update && sudo apt-get upgrade -
Install Docker
curl -sSL https://get.docker.com | sh -
Add a non-root user (the current user) to the Docker group
sudo usermod -aG docker ${USER}
Check it by running groups ${USER} then reboot.
-
Build docker container
cd ~/pixray-bot && docker build -t pixray-bot . -
Run the docker container
docker run -d pixray-bot-dflag runs the container in detached mode (in the background). Check running docker processdocker ps.
You can stop the docker container running the bot with docker stop <CONTAINER ID> and you can restart it with docker restart <CONTAINER ID>.
Please look at the Docker docs for more information.