PythonistaGuild / TwitchIO

An Async Bot/API wrapper for Twitch made in Python.
https://twitchio.dev
MIT License
785 stars 163 forks source link

Fix dictionary keys used in PartialUser.fetch_moderated_channels() #443

Closed styles784 closed 5 months ago

styles784 commented 5 months ago

Description

PartialUser.fetch_moderatedchannels used the wrong dictionary keys to retrieve names/ids of channels the user moderates. This pull request corrects the keys from "user" prefix to "broadcaster_" prefix in order to match the data returned by the underlying API call

Checklist