How to get bot access to restricted messages?

My chat bot cannot see chat messages that are marked as “Restricted.” They do not come through the IRC socket at all.

How can a mod bot evaluate, and possibly delete restricted messages, or ban accounts if the messages don’t come through the IRC socket?

It doesn’t look like there are any APIs or PubSubs for this either.

Thx!

Currently you have to use the low-trust-users.<moderator-id>.<channel-id> pubsub topic to read restricted messages: PubSub | Twitch Developers (the docs are flawed but they’re working on it). The relevant type is low_trust_user_new_message

1 Like

Interesting. I’ll look into that.

Thank you so much!

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.