How do I accept someone in a group using a Discord Bot?

I need to make a discord bot which can accept people in my group since I only want people in the Discord to join and it would hurt a lot to manually do it.
I cannot find any solutions for it, does someone know how to make a bot like this?

/rank (username) to quickly accept someone into the group and
/exile (username) to kick them out
It would help a lot thank you. I just need to know the code for it needed.

Good luck trying to use Discord with Roblox. They have banned Roblox servers from using their api n stuff because people were spamming it.

Discord blocked roblox http requests, you need to use a proxy and that’s complicated. Sorry.

I have a proxy though, so now what will I do?

Was that not with only discord webhooks though? (sorry if i replied twice, i glitched a bit or something)

I’m not sure to be honest, I don’t make roblox to discord bots but it’s not simple I suggest using an open sourced on with in the dev forum, I’ve seen them released.

Do you know where any are? I tried looking.

https://groups.roblox.com/docs#!/Membership/post_v1_groups_groupId_join_requests_users_userId

You’ll need to make use of this API endpoint.

Sample request:
https://groups.roblox.com/v1/groups/1/join-requests/users/1

I did look at that but I don’t know how I can use that.