This page has methods that include things like making group shouts & ranking users. The page below introduces you to "promises" which is what is used to handle success and errors with the API.
This method allows you to bulk accept up to hundreds of join requests at the same time. You can also just accept a single request.
Sample code:
After the group ID, you can have however many user IDs you want, the example I provided only has one.
Arguments:
Type
Name
integer
groupId
integer (unlimited amount of times)
userId
Returns: {}
declineJoinRequests
This method requires authentication.
This method allows you to bulk decline up to hundreds of join requests at the same time. You can also just decline a single request.
Sample code:
After the group ID, you can have however many user IDs you want, the example I provided only has one.
Arguments:
Type
Name
integer
groupId
integer (unlimited amount of times)
userId
Returns: {}
getGroupInformation
This method does not require authentication.
This method provides group information for the specified ID such as; if public joining is allowed, shout info, description, name, owner, etc.
Sample code:
Arguments:
Type
Name
integer
groupId
Returns: <array>
getUsers
This method does not require authentication.
This method provides all the users in a group (in 100 increments as pages), it also uses pages to navigate the web API. If you don't know how to use them, here's information on them:
This method requires authentication. It also costs 25 robux (if there is any)
This method creates a group rank in the specified group, be warned that it costs robux still. You also require ownership of said group with the cookie.
local player = game:GetService("Players").imAvizandum;
client.group:rank(player,12551284,52):andThen(function(response)
print(response)
end):catch(warn)
client.group:getGroupWall(1):andThen(function(wall)
-- do stuff here
end):catch(warn)
-- You can input an actual player or a userId for some methods
client.group:exile(game.Players.Roblox,123456):andThen(function(response)
-- pretty sure the response is always empty
end):catch(warn)
client.group:updateDescription(1,"The first roblox group!"):andThen(function(response)
--> wow
end):catch(warn);
{
newDescription = ...
}
-- The post variable here is grabbed from a random post fetched in "getGroupWall"
-- You can directly provide a post from that array or just provide it's ID
client.group:deleteWallPost(12551284,post):andThen(function(resp)
print(resp)
end):catch(warn)