Only works with ARK Ascended Docker image by azixus!
- Go to the folder where you want to install the bot, e.g.
cd /etc
- Use
sudo git clone https://github.com/PandiSimon/ArkDockerDiscordBot
- Install the dependencies of Python3 with
sudo pip3 install -r requirements.txt
. Make sure Python3 and Pip3 are installed. - Edit
bot.py
with your own token, id's and container names.sudo nano bot.py
- Save the file with Ctrl+O and exit with Ctrl+X
- Setup the Linux Service according to the following description:
Servicefile: Path: /etc/systemd/system/name.service
[Unit]
Description=*Discord Bot fuer den ARK Server*
After=multi-user.target
[Service]
Type=simple
Restart=always
ExecStart=/usr/bin/python3 */etc/ArkDockerDiscordBot/bot.py*
[Install]
WantedBy=multi-user.target
- Put the file there for the service to work properly
- Remember to change the path, the name and the description
- Use
sudo systemctl daemon-reload
to reload the services - Start and enable with
sudo systemctl start *name*.service
andsudo systemctl enable *name*.service
- Check status with
sudo systemctl status *name*.service