Skip to content
This repository has been archived by the owner on Jul 20, 2024. It is now read-only.

Latest commit

 

History

History
28 lines (22 loc) · 1.02 KB

README.md

File metadata and controls

28 lines (22 loc) · 1.02 KB

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)

xelA Invite Validator

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.

Setup

  1. Use Python 3.6 or higher
  2. Install requirements.txt
  3. Rename config.json.example to config.json and fill out needed information
  4. Boot the website up

API endpoints

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

Support

You can find me at https://discord.gg/yqb7vATbjH if you need help, but keep in mind that I won't spoonfeed you...