/Discord-Valheim_Bot

Valheim discord bot

Primary LanguagePython

Valheim Discord Bot

Valheim discord bot was originally based on ckbaudio's valheim-discord-bot.

Setup:

Working MySQL server is needed for this bot.
pip install -r requirements.txt To install Python requirements.

Edit this file with your info. Setting should be self-explanatory.

Add -logfile /location/to/file.log to your Valheim 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.

Usage:

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

Example Output:

To come.