unixporn / robbb

The main bot for the r/unixporn discord server!
MIT License
132 stars 19 forks source link

[FEATURE] API #104

Open wooosh opened 3 years ago

wooosh commented 3 years ago

Add a read only HTTP(S) API to query fetch data and project info (whenever the project system is implemented). Would be useful to implement a web frontend or generate more complex statistics than what the bot currently offers.

eepykate commented 3 years ago

something something "ehh seems a little weird to have a public list of users for X thing"

:shrug: I mean, searching is always possible, but just like not having !top list the usernames, it feels a little iffy.

wooosh commented 3 years ago

IMO it’s much less of a target for datamining than the public discord itself. You’d have to write a custom dataminer for this and then figure out how to maliciously use it, whereas I’m sure there are already public discord selfbots for datamining servers.

Though I’m not sure it any of this violates (or is already violating) any privacy law eg GDPR.

You could also add in opt in/out system for people who don’t wish to have it available via the API. Not sure what makes sense for the default there.

elkowar commented 3 years ago

actually, the GDPR situation for the fetch database is interesting, I have no idea how that actually works in this context 🤔

eepykate commented 3 years ago

I don't think there would be a GDPR issue with the fetch, as it gives you everything it has on you.

But on the other hand, I'm not sure about #bot-messages.

elkowar commented 3 years ago

Do we have any known law-person in the server?

javacafe01 commented 3 years ago

Just move to America

eepykate commented 3 years ago

thanks but even us brits have some dignity.

javacafe01 commented 3 years ago

Ok brit