Chatterino / chatterino2

Chat client for https://twitch.tv
MIT License
2.06k stars 449 forks source link

Migrate /w command to Helix API #3986

Closed jupjohn closed 2 years ago

jupjohn commented 2 years ago

As part of Twitch's announced deprecation of IRC-based commands (see here for more info, the /w https command needs to be migrated to use the relevant Helix API endpoint.

Helix API reference: https://dev.twitch.tv/docs/api/reference#send-whisper

Split from #3956

Consequence

Users who might have been able to use /w to whisper users, may experience issues using the Helix API due to the two methods using the same constraints.

jupjohn commented 2 years ago

As per @Felanbird's analysis on #3956

Will require custom error handling when receiving back an error code 401, which will indicate the user has not verified their phone number with Twitch.