THIS CODE IS NOT MAINTAINED ANYMORE.
IT IS HERE FOR ARCHIVAL PURPOSES ONLY.
Moved to: https://xela.dev/invite
(private Dashboard code, but same logic)
This application (website) is used to validate if xelA is allowed to be invited in servers. The main purpose of not allowing anyone to invite xelA is to avoid servers that only add bots for no reasons.
- Use Python 3.6 or higher
- Install requirements.txt
- Rename config.json.example to config.json and fill out needed information
- Boot the website up
X-Responsible: Your AuthorID
Authorization: backend_api_token from config.json
GET /api/guilds Show all Guilds
GET /api/guilds/:guild_id Show GuildID access for 1 server
POST /api/guilds/:guild_id Grant GuildID access to invite bot
DELETE /api/guilds/:guild_id Revoke GuildID access to invite bot
You can find me at https://discord.gg/yqb7vATbjH if you need help, but keep in mind that I won't spoonfeed you...