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

Chat functions doesn't seem to work anymore with chat.send_message #219

Closed bncmajor closed 1 year ago

bncmajor commented 1 year ago

Previously it was working, but all of a sudden from today it doesn't seem to work. Strange part that it doesn't even print any errors whatsoever, feels like on twitch side it has changed somehow.

await chat.send_message(TARGET_CHANNEL,"/emoteonly") await chat.send_message(TARGET_CHANNEL,"/emoteonlyoff")

This is how I used to use it, also I have tried to do the same with /announce and neither of them worked. Are we aware of such a change? Also what would be the working and possible way to set channel settings using this package?

Braastos commented 1 year ago

This functionality was deprecated as of 18th February 2023. https://dev.twitch.tv/docs/irc/chat-commands/

If you want to use these commands now, you would have to use the API calls, whicha are provided by this lib.