Skip to content

NIREKI/DockerDiscordBot

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

16 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Discord bot for controlling an ASA Docker Server

Only works with ARK Ascended Docker image by azixus!

  1. git clone https://github.com/NIREKI/DockerDiscordBot.git
  2. Change directory cd DockerDiscordBot
  3. Install Python3 Dependencies with pip3 install -r requirements.txt . Make sure Python3 and Pip3 are installed.
    1. If that shouldn't work, manually install the dependencies discord.py, docker and python-dotenv
  4. Edit example.env with your own token, id's, container name and prefix
  5. Rename example.env to .env e.g. with mv example.env .env
  6. Setup the Linux Service according to the following description:

Setup Linux Service for systemctl

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/ark/DockerDiscordBot/bot.py*
[Install]
WantedBy=multi-user.target
  1. Put the file there for the service to work properly
  2. Remember to change the path, the name and the description
  3. Use sudo systemctl daemon-reload to reload the services
  4. Start and enable with sudo systemctl start *name*.service and sudo systemctl enable *name*.service
  5. Check status with sudo systemctl status *name*.service

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages