Skip to content

Commit 1ec6360

Browse files
authored
Adding the channel language on searchings. (#192)
1 parent 489762f commit 1ec6360

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

twitchio/user.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -643,6 +643,7 @@ def __init__(self, http: "TwitchHTTP", data: dict):
643643
self.game_id: str = data["game_id"]
644644
self.title: str = data["title"]
645645
self.thumbnail_url: str = data["thumbnail_url"]
646+
self.language: str = data["broadcaster_language"]
646647
self.live: bool = data["is_live"]
647648
self.started_at = datetime.datetime.strptime(data["started_at"], "%Y-%m-%dT%H:%M:%SZ") if self.live else None
648649
self.tag_ids: List[str] = data["tag_ids"]

0 commit comments

Comments
 (0)