members
This module contains classes intended to parse and deal with data from Roblox group member endpoints.
Member
¶
Bases: MemberRelationship
Represents a group member.
Attributes:
Name | Type | Description |
---|---|---|
id |
int
|
The member's ID. |
name |
str
|
The member's name. |
display_name |
str
|
The member's display name. |
role |
PartialRole
|
The member's role. |
group |
BaseGroup
|
The member's group. |
has_verified_badge |
bool
|
If the member has a verified badge. |
Source code in roblox/members.py
70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 |
|
MemberRelationship
¶
Bases: BaseUser
Represents a relationship between a user and a group.
Attributes:
Name | Type | Description |
---|---|---|
group |
BaseGroup
|
The corresponding group. |
Source code in roblox/members.py
20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 |
|
delete_all_messages()
async
¶
Deletes all wall posts created by this member in the group.
Source code in roblox/members.py
63 64 65 66 67 |
|
kick()
async
¶
Kicks this member from the group.
Source code in roblox/members.py
57 58 59 60 61 |
|
set_rank(rank)
async
¶
Sets this member's rank.
Parameters:
Name | Type | Description | Default |
---|---|---|---|
rank |
int
|
The new rank this member should be assigned. Should be in the range of 0-255. |
required |
Source code in roblox/members.py
48 49 50 51 52 53 54 55 |
|
set_role(role)
async
¶
Sets this member's role.
Parameters:
Name | Type | Description | Default |
---|---|---|---|
role |
RoleOrRoleId
|
The new role this member should be assigned. |
required |
Source code in roblox/members.py
39 40 41 42 43 44 45 46 |
|