Fix send_whisper function #36

Merged
Haskaris merged 1 commits from fix_api_connection_send_whisper into master 2023-12-19 19:29:42 +01:00
Haskaris commented 2023-12-16 14:40:45 +01:00 (Migrated from github.com)

The function previously called /helix/eventsub/whispers without including the parameters from the function (from_user_id and to_user_id)

It looks like Twitch updated their API to /helix/whispers

This PR correct URL and parameters
I also took the liberty to update the prints according to the response code.

I can revert those changes easily and only keep the fix if required.

The function previously called ``/helix/eventsub/whispers`` without including the parameters from the function (``from_user_id`` and ``to_user_id``) It looks like Twitch updated their API to ``/helix/whispers`` This PR correct URL and parameters I also took the liberty to update the prints according to the response code. I can revert those changes easily and only keep the fix if required.
issork commented 2023-12-19 19:29:49 +01:00 (Migrated from github.com)

Thanks!

Thanks!
Sign in to join this conversation.
No description provided.