Skip to content

Commit 4bb12b2

Browse files
author
Eviee Py
committed
Rename fetch_chat_badges to fetch_badges
1 parent 25da580 commit 4bb12b2

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

twitchio/client.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -650,10 +650,10 @@ def create_partialuser(self, user_id: str | int, user_login: str | None = None)
650650
"""
651651
return PartialUser(user_id, user_login, http=self._http)
652652

653-
async def fetch_chat_badges(self) -> list[ChatBadge]:
653+
async def fetch_badges(self) -> list[ChatBadge]:
654654
"""Fetches Twitch's list of global chat badges, which users may use in any channel's chat room.
655655
656-
To fetch a specific broadcaster's chat badges, see: :meth:`~twitchio.PartialUser.fetch_chat_badges`
656+
To fetch a specific broadcaster's chat badges, see: :meth:`~twitchio.PartialUser.fetch_badges`
657657
658658
Returns
659659
--------
@@ -987,7 +987,7 @@ async def update_extensions(self, *, user_extensions: ActiveExtensions, token_fo
987987
async def fetch_emotes(self, *, token_for: str | None = None) -> list[GlobalEmote]:
988988
"""Fetches global emotes from the Twitch API.
989989
990-
If you wish to fetch a specific broadcaster's chat badges use :meth:`~twitchio.PartialUser.fetch_channel_emotes`.
990+
If you wish to fetch a specific broadcaster's chat emotes use :meth:`~twitchio.PartialUser.fetch_channel_emotes`.
991991
992992
Returns
993993
--------

0 commit comments

Comments
 (0)