I’m trying to subscribe to channel.moderator.add and channel.moderator.remove events using WebSockets in Conduits, but the events are never being received. I can see the subscriptions are active (using GET eventsub/subscriptions) and I do have the moderation:read scope. Are there any more conditions I am not aware of? As far as I can see in the documentation, it should work as is. Other events, for example chat messages, are being received over the same WebSocket just fine.
(I also tried using Webhooks, this also didn’t work)
I’d speculate you have listened to the wrong channel and the broadcaster_user_id in the condition is not the channel_id of the broadcaster you are expecting to listen to?
Thanks for the quick reply! The conditions are just {"broadcaster_user_id": "<id>"} with version 1, and I’m sure the IDs are right: I checked the active subscriptions (GET eventsub/subscriptions) and they match the channels I’m testing in. The subscriptions are created with an app access token on the conduit, for channels where my app is granted moderation:read and channel:manage:moderators, and the status is enabled.
I also reduced this to the simplest possible setup in a separate application, no conduit and no app token: a plain EventSub WebSocket (wss://eventsub.wss.twitch.tv/ws) with a user access token for the broadcaster (scopes moderation:read, channel:manage:moderators, user:read:chat). I subscribed to channel.moderator.add, channel.moderator.remove (both v1, condition {"broadcaster_user_id": "<id>"}) and channel.chat.message as a control. All three return 202 and status: enabled.
After sending a chat message, modding a user and unmodding them again, the chat messages arrive on the socket, but neither channel.moderator.add nor channel.moderator.remove does.
Yes, I tried modding/unmodding several users on the KorocketScience channel (FlextreamBot, which is the account the application is registered under, and FlextreamDev, which is just another regular Twitch account)
No I also don’t see an acknowledgement in chat of modding a user, but if I try to do it twice, it does tell me the user is already modded. I do see an acknowledgement in chat of unmodding a user though.
Have you seen this working recently or might this have been broken for a longer time already? If it’s just a short outage I’ll just wait it out, but otherwise I might need to file a bug report somehow.
In any case thank you for your extensive help and checking!