Skip to content

Commit fea3801

Browse files
authored
docfix for PartialUser.fetch_moderators (#516)
token_for is not a supported keyword argument here, it's pulled directly from the PartialUser object Signed-off-by: David B <[email protected]>
1 parent 5c0f90f commit fea3801

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

twitchio/user.py

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2383,10 +2383,6 @@ def fetch_moderators(
23832383
user_ids: list[str | int] | None
23842384
A list of user IDs used to filter the results. To specify more than one ID, include this parameter for each moderator you want to get.
23852385
The returned list includes only the users from the list who are moderators in the broadcaster's channel. You may specify a maximum of 100 IDs.
2386-
token_for: str | PartialUser
2387-
User access token that includes the ``moderation:read`` scope.
2388-
If your app also adds and removes moderators, you can use the ``channel:manage:moderators`` scope instead.
2389-
The user ID in the access token must match the broadcaster's ID.
23902386
first: int
23912387
The maximum number of items to return per page in the response. The minimum page size is 1 item per page and the maximum is 100 items per page. The default is 20.
23922388
max_results: int | None

0 commit comments

Comments
 (0)