From 38de2603c1e7785953b3411c6737223d2d7d13f3 Mon Sep 17 00:00:00 2001 From: David B <2069200+buck2202@users.noreply.github.com> Date: Mon, 1 Sep 2025 22:32:08 -0400 Subject: [PATCH] docfix for PartialUser.fetch_moderators token_for is not a supported keyword argument here, it's pulled directly from the PartialUser object Signed-off-by: David B <2069200+buck2202@users.noreply.github.com> --- twitchio/user.py | 4 ---- 1 file changed, 4 deletions(-) diff --git a/twitchio/user.py b/twitchio/user.py index 3cb864d0..65e3fc49 100644 --- a/twitchio/user.py +++ b/twitchio/user.py @@ -2383,10 +2383,6 @@ def fetch_moderators( user_ids: list[str | int] | None 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. 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. - token_for: str | PartialUser - User access token that includes the ``moderation:read`` scope. - If your app also adds and removes moderators, you can use the ``channel:manage:moderators`` scope instead. - The user ID in the access token must match the broadcaster's ID. first: int 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. max_results: int | None