Open RZarifov opened 1 year ago
Hey Xeizzeth,
Yeah if you put together a PR that can create a poll from the mod then I'd be happy to merge it. Main things I'd be thinking about are
It sounds like you've already had a peak at our API requests, but seeing as the server code isn't open source I'll lay out what you need.
/poll/create
endpoint (connection and base url should already be defined in the mod)expiry
key which is the datetime of when it will expire (It shouldn't be like this, but alas)voteOptions
which is an array of objects in the shape {validCommand: ObjectId, amount: number}If you want to work with me to answer those questions then I'd be happy for you craft a PR.
So I assume noone even tried to implement such functionality?
If so, then I will be able to tackle on adding said functionality only after I will be done with my current "Endless Story" mod.
I bet it was asked a godzillion times but still.
Even tried to implement one myself via tampermonkey, but I guess it would be wiser to implement one via pull req to this repo.
Therefore I ask - how are things in that regard currently? Maybe devs already implementing them? If not, if I implement such a feature, will the pull request be applied?