Valheim discord bot originally based off of ckbaudio's valheim-discord-bot.
Working MySQL server is needed for this bot.
pip install -r requirements.txt
To install Pyhton requirements.
Edit this file with your info. Setting should be self-explanitory.
Add -logfile /location/to/file.log
to your Vlaheim servers start command to get a logfile.
For WORLDSIZE
user running the bot must have read permissions to the world.db file
Tables and data for the MySQL database.
Warning: Set up the config.py before running this
Run python3 dbsetup.py
from the code dir to create tables.
python3 valheimbot.py
While in the code
dir.
nohup python3 valheimbot.py &
Too run in background.
Or you can create a service to run valheimbot.py
under systemd
To come.