JackDotJS / vector-bot

A Discord bot for advanced moderation and server management.
https://discord.gg/s5nQBxFPp2
MIT License
15 stars 3 forks source link

Public API #14

Open bdotsamir opened 2 years ago

bdotsamir commented 2 years ago

It would be neat if Vector had an API that other people / bots could interact with. Things like the custom permission system could be exposed, maybe the moderation database as well for import/export purposes.

I'm not entirely sure how this would be accomplished. It can't really be through Discord messages since those are being phased out, ironically. Maybe a REST API. It would be a good starting point for fleshing out how the website may communicate with Vector...

JackDotJS commented 2 years ago

a REST API would make the most sense. an API through discord messages sounds... unnecessarily weird and hacky.

this api would most likely need authorization of some kind. maybe server managers could generate access tokens on the same page where you manage vector's server options?