DiscordBot/README.md

28 lines
658 B
Markdown
Raw Normal View History

2024-11-24 19:01:38 +01:00
# DiscordBot
This Discord bot is being done for some private things but made it available for everyone.
## Features
- API Endpoints:
- /add-role:
- Method: POST
- Headers: Content-Type: application/json
- Body {
"guildId": "yourGuildID",
"userId": "UserID",
"roleId": "RoleID"
}
- /add-role:
- Method: POST
- Headers: Content-Type: application/json
- Body {
"guildId": "yourGuildID",
"userId": "UserID",
"roleId": "RoleID"
}
2024-11-24 19:02:48 +01:00
- Save Origin: declare an origin from where Request can come
2024-11-24 19:01:38 +01:00
ToDo:
- Fetch Text from Repo
- Filter Text
- Add Text to Embed
- Logs for server environment