egebilecen / PZServerDiscordBot

A Project Zomboid Discord Bot written in C# using Discord.NET to manage and execute commands on Project Zomboid Server.
GNU General Public License v3.0
70 stars 15 forks source link

Download and Remove workshop mods #92

Closed DomicidalDesigns closed 1 year ago

DomicidalDesigns commented 1 year ago

I've never worked on a C# project before, so this is probably pretty messy. Any feedback is appreciated.

I added a ChangeOption discord command that works the same as the project zomboid changeoption server command. More importantly, I added these new discord commands that add and remove workshop mods when the user provides the workshop url(s):

!workshop_mod <add|remove> <url1> <url2> ... !add_workshop_mod <url1> <url2> ... !remove_workshop_mod <url1> <url2> ...

Currently all mod Ids are added, which should be fine for most mods. The command should not be used for mods where only certain mod Ids need to be added.

This addresses issue #91 .

DomicidalDesigns commented 1 year ago

Thank you for the feedback! I will follow them in the future :)