I know that there is a specific scope for this but how would I do this exactly?
I.e my bots !purge command cannot timeout moderators because he is obviously not the channel owner.
Hang on… You want to send a channel message as a broadcaster automatically?
Why not set-up a message response…? I mean, you got the timeout(s) working.
You will need to obtain a chat_login
token for the broadcaster’s account and then run the bot via IRC through the broadcaster’s account.
George, do I need the user’s password or will the received token be enough?
The token is the password you provide to IRC. See https://github.com/justintv/Twitch-API/blob/master/IRC.md for more details.