Skip to content

Commit 5e6c602

Browse files
committed
Rename "member" role to "host"
1 parent f373286 commit 5e6c602

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/recnetpy/dataclasses/role.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
ROLE_DICT: Dict[int, str] = {
1010
0: None,
1111
1: "Banned",
12-
10: "Member",
12+
10: "Host",
1313
20: "Moderator",
1414
25: "Contributor",
1515
30: "Co-Owner",
@@ -21,11 +21,11 @@ class Role(VariableClass['RoleResponse']):
2121
"""
2222
This class represents a room's player roles.
2323
"""
24-
#: This is the id of the role which has the possible values of ``{0: 'None', 10: 'Member', 20: 'Moderator', 30: 'Co-Owner', 31: 'Temporary Co-Owner', 255: 'Owner'}``.
24+
#: This is the id of the role which has the possible values of ``{0: 'None', 10: 'Host', 20: 'Moderator', 30: 'Co-Owner', 31: 'Temporary Co-Owner', 255: 'Owner'}``.
2525
id: int
2626
#: This is the id of the player who owns this role.
2727
account_id: int
28-
#: This is the name of the role the player owns which has the possible values of ``['None', 'Member', 'Moderator', 'Co-Owner', 'Temporary Co-Owner', Owner']``
28+
#: This is the name of the role the player owns which has the possible values of ``['None', 'Host', 'Moderator', 'Co-Owner', 'Temporary Co-Owner', Owner']``
2929
name: str
3030
#: This is the id of the account who updated the player's role.
3131
last_changed_by_account_id: Optional[int]

0 commit comments

Comments
 (0)