Skip to content

Commit 3d421a9

Browse files
committed
Update more oauth scopes
1 parent 24aef67 commit 3d421a9

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

twitchio/user.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -887,7 +887,7 @@ async def fetch_polls(self, token: str, poll_ids: Optional[List[str]] = None, fi
887887
Parameters
888888
-----------
889889
token: :class:`str`
890-
An oauth token with the ``user:read:broadcast`` scope
890+
An oauth token with the ``channel:read:polls`` scope
891891
poll_ids: Optional[List[:class:`str`]]
892892
List of poll IDs to return. Maximum: 100
893893
first: Optional[:class:`int`]
@@ -964,7 +964,7 @@ async def end_poll(self, token: str, poll_id: str, status: str):
964964
Parameters
965965
-----------
966966
token: :class:`str`
967-
An oauth token with the ``user:read:broadcast`` scope
967+
An oauth token with the ``channel:manage:polls`` scope
968968
poll_id: :class:`str`
969969
ID of the poll.
970970
status: :class:`str`
@@ -989,7 +989,7 @@ async def fetch_goals(self, token: str):
989989
Parameters
990990
-----------
991991
token: :class:`str`
992-
An oauth token with the ``user:read:broadcast`` scope
992+
An oauth token with the ``channel:read:goals`` scope
993993
994994
Returns
995995
--------

0 commit comments

Comments
 (0)