Teekeks / pyTwitchAPI

A Python 3.7 compatible implementation of the Twitch API, EventSub, PubSub and Chat
https://pytwitchapi.dev
MIT License
254 stars 38 forks source link

get_chat_settings returned() ChatSettings object does not have emote_mode #234

Closed djnrrd closed 1 year ago

djnrrd commented 1 year ago

The ChatSettings object returned by Twitch.get_chat_settings() does not contain information on if emote_mode is currently enabled or not.

chat_settings.to_dict()
{'broadcaster_id': 'REDACTED', 'moderator_id': 'REDACTED, 'slow_mode': False, 'follower_mode': False, 'subscriber_mode': True, 'unique_chat_mode': False, 'non_moderator_chat_delay': False}

The documentation implies that it can be set with Twitch.update_chat_settings(), but I have not tested this yet, as my use case is to determine the current state of emote_mode before setting a value. Essentially a toggle.

djnrrd commented 1 year ago

Wow! Thanks for the fast turnaround! :)