tModLoader / tModLoader-Discord-Bot

A Discord bot written in C# using Discord.Net to serve the tModLoader server. Uses .NET Core 2.0+
https://tmodloader.net/
Apache License 2.0
13 stars 9 forks source link

Bot shows unpublished mods #2

Open JavidPack opened 5 years ago

JavidPack commented 5 years ago

Bot should clear out mods folder I guess.

Jofairden commented 5 years ago

Do you keep track of unpublished mod? If so, make a GET endpoint to retrieve them If not, make a POST endpoint and have the bot send its own list to the server, then the server returns in the response the difference in mods (so the ones that were unpublished) My 2 cents.

Agrair commented 4 years ago

I think people should be able to do trigger a check through Discord, or on the website, or something. I'm not sure how difficult that would be to configure in the website case (I've never actually worked with HTTP networking) but I just got pretty confused when a deleted mod and an uploaded mod had similar names, size the author had to re-upload because of an internal name change. It's really a rather niche feature though.

Jofairden commented 4 years ago

.verify <mod> would be a neat command even better would be an occasional task that runs and verifies all mods the bot is tracking.