Embed Chat - Redirect if not connected


I’ve searched around, but I can’t find anything, so here I am :slight_smile:

I’m developping a website that uses Twitch API for login.
A stream channel is shown, with the embed chat by its side and accessible for everyone, even not connected through Twitch.
What I’m looking for is a way to redirect the user to my sign-in page if the user tries to send a message on the chat, instead of showing the Twitch popup.

Any idea ? The Github page about embed chat is not really instructive (see it by yourself)

Thanks !

EDIT : I just saw that IRC is maybe the way

There isn’t a supported way to redirect to a custom login page from the chat embed.

Ok thanks for the information. I guess I have to build a IRC client by myself then :slight_smile:

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