chatterino2 icon indicating copy to clipboard operation
chatterino2 copied to clipboard

Implement Unban Requests somehow

Open VulpesHD opened this issue 4 years ago • 5 comments

Implement Unban Requests somehow, like in a new tab, how mentions/whispers are handled.

VulpesHD avatar Sep 30 '20 22:09 VulpesHD

Can listen to the unofficial channel-unban-requests.<user-id>.<channel-id> pubsub topic to recieve the unban requests in real-time (though I haven't tested this with third-party oauth) - example: https://github.com/twitch4j/twitch4j/pull/210. However, properly approving/denying would need to use GQL at the moment as there's no official api (though: for the approval, we could just send /unban, but the unbanned user wouldn't see the same "Note from Channel Moderators:" box that would be present via a gql approval).

2024 update: should use https://dev.twitch.tv/docs/eventsub/eventsub-subscription-types/#channelunban_requestcreate / https://dev.twitch.tv/docs/eventsub/eventsub-subscription-types/#channelunban_requestupdate instead

iProdigy avatar Sep 30 '20 23:09 iProdigy

though I haven't tested this with third-party oauth

Does not work, needs first-party OAuth token or you'll get an authorization error.

Mm2PL avatar Oct 04 '20 16:10 Mm2PL

it's now legal to do this https://dev.twitch.tv/docs/api/reference/#get-unban-requests https://dev.twitch.tv/docs/api/reference/#resolve-unban-requests

Felanbird avatar Mar 08 '24 05:03 Felanbird

Needs polling though :vomiting_face:

Mm2PL avatar Mar 09 '24 01:03 Mm2PL

Needs polling though 🤮

Or eventsub websocket

iProdigy avatar Mar 09 '24 01:03 iProdigy