Skip to content

Commit

Permalink
baseplace fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
jmkd3v authored Feb 6, 2024
1 parent 3f1324b commit fd49768
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions roblox/bases/baseplace.py
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ async def get_instances(self, start_index: int = 0):
For more items, add 10 to the start index and repeat until no more items are available.
!!! warning
This method has been deprecated. Please rectify any code that uses this method.
This function has been deprecated. The Roblox endpoint used by this function has been removed. Please update any code using this method to use
Arguments:
start_index: Where to start in the server index.
Expand Down Expand Up @@ -80,6 +80,7 @@ def get_servers(
sort_order: Order in which data should be grabbed.
exclude_full_games: Whether to exclude full servers.
max_items: The maximum items to return when looping through this object.
Returns:
A PageIterator containing servers.
"""
Expand Down Expand Up @@ -108,6 +109,7 @@ def get_private_servers(
page_size: How many private servers should be returned for each page.
sort_order: Order in which data should be grabbed.
max_items: The maximum items to return when looping through this object.
Returns:
A PageIterator containing private servers.
"""
Expand All @@ -120,4 +122,4 @@ def get_private_servers(
max_items=max_items,
sort_order=sort_order,
handler=lambda client, data: PrivateServer(client=client, data=data),
)
)

0 comments on commit fd49768

Please sign in to comment.