Discord Mod Notifiyer is a dotnet core application that will push a message on your discord server if a steam workshop mod is updated. It can automatically be executed and can also being used as service in Linux.
Install the following packages in the terminal
wget https://packages.microsoft.com/config/ubuntu/20.04/packages-microsoft-prod.deb
sudo dpkg -i packages-microsoft-prod.deb
sudo apt update
sudo apt install apt-transport-https
sudo apt install dotnet-runtime-3.1
sudo apt install screen
Move the DMN directory to /opt/DMN/.
Move the file DMN.service to the Systemd directory.
activate the autostart with the following command
systemctl enable DMN
The program has a Settings.json
file which contains all needed settings to change. In the following table are the options described:
Option | Type | Description |
---|---|---|
SteamApiKey | string | The Steam Api Key you can get from https://steamcommunity.com/dev/apikey |
AutomaticRefresh | true | false | true if the script should check automatically the mods (default: true) |
AutomaticRefreshMin | int | The time in minutes for the timer to check the mods (default: 1) |
DiscordWebHook | string | The Discord Webhook link to the text channel |
SteamCollection | true | false | If you want to check a steam collection set this value to true (default: true) |
SteamCollectionId | int | The id of the steam collectionn |
SteamModIds | Array | If SteamCollection is false you can add here your mod ids |
Be careful by changing the SavedMods.json
. This file is a temp file for the program to save which mods are posted and when the last change was. If you want to reset the bot don´t delete this file or the content of the file. This will be a critical error! If you want to reset this file just insert []
Start programme manually
systemctl start DMN
Stop programme manually
systemctl stop DMN
Check programme status
systemctl status DMN
You can call up the console of the program with the following command
sudo screen -r DiscordModNotifiyer
Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.
Please make sure to update tests as appropriate.