PythonistaGuild / TwitchIO

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

bug: message.author.color always returns empty #445

Closed parknich closed 4 months ago

parknich commented 5 months ago

Steps to reproduce: print message.author.color, observe results

IAmTomahawkx commented 4 months ago

Hi sorry for the delay. This value is grabbed directly from the payload provided by Twitch. Typically, the colour is not predetermined, and as such is empty. This will be the case for most chatters (visible when you chat in a channel that has a chat overlay, the colours you see for most will be different than the colours on the overlay). Where this comes in is for users that have turbo or twitch prime, who are able to select a colour to be used for them by everyone.