# TWITCH IRC NOTICE - TIMEOUT/UNBAN questions

**URL:** <https://discuss.dev.twitch.com/t/twitch-irc-notice-timeout-unban-questions/19451>\
**Category:** Chat and IRC\
**Created:** [January 12, 2019, 11:58am UTC](https://discuss.dev.twitch.com/t/twitch-irc-notice-timeout-unban-questions/19451 "2019-01-12T11:58:15Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![WLTN1](https://avatars.discourse-cdn.com/v4/letter/w/7feea3/32.png) [@WLTN1](https://discuss.dev.twitch.com/u/WLTN1)\
**Post date:** [January 12, 2019, 11:58am UTC](https://discuss.dev.twitch.com/t/twitch-irc-notice-timeout-unban-questions/19451/1 "2019-01-12T11:58:15Z")

</div>

Hello, working on chatbot and i have some questions.  
I have read all the posts, but I still do not find the answer, or posts what i read was out of date.  
In irc channel I can detect timeout:  
1. Reason for ban and who has given the ban is still unavailable or is there any higher privilege for this?  
2. Is there a way to detect unban, or is it also inaccessible?

Thank you and have a nice day! 🙂

---

<div class="post-metadata">

**Author:** ![BarryCarlyon](https://d3ovvz0v2ajtpu.cloudfront.net/user_avatar/discuss.dev.twitch.com/barrycarlyon/32/253_2.png) [@BarryCarlyon](https://discuss.dev.twitch.com/u/BarryCarlyon)\
**Post date:** [January 12, 2019, 12:07pm UTC](https://discuss.dev.twitch.com/t/twitch-irc-notice-timeout-unban-questions/19451/2 "2019-01-12T12:07:41Z")

</div>

You can either parse IRC NOTICE’s for the information or the moderation pubsub topic which is technically undocumented

> [@In-line broadcaster chat mod logs](https://discuss.dev.twitch.com/t/in-line-broadcaster-chat-mod-logs/7281):
>
> Hi, We’ve developed a small update for chat that you might be able to do things™ with if you so choose. A user will attempt to send listen (with an oauth token) on a [pubsub](https://github.com/justintv/Twitch-API/tree/master/PubSub) topic chat\_moderator\_actions.{user\_id}.{room\_id} room\_id is the user\_id of the user that owns the room (in most cases the broadcaster’s user ID). If that user is the broadcaster or a mod of the room they will receive messages containing a type of chat\_login\_moderation or chat\_channel\_moderation as well as some associated …

---

<div class="post-metadata">

**Author:** ![WLTN1](https://avatars.discourse-cdn.com/v4/letter/w/7feea3/32.png) [@WLTN1](https://discuss.dev.twitch.com/u/WLTN1)\
**Post date:** [January 13, 2019, 5:32am UTC](https://discuss.dev.twitch.com/t/twitch-irc-notice-timeout-unban-questions/19451/3 "2019-01-13T05:32:25Z")

</div>

Thank you!

---

<div class="post-metadata">

**Author:** ![system](https://d2opxh93rbxzdn.cloudfront.net/original/2X/0/05909729875cce3b53e59d5561c4d23bb14948fc.png) [@system](https://discuss.dev.twitch.com/u/system)\
**Post date:** [February 12, 2019, 5:32am UTC](https://discuss.dev.twitch.com/t/twitch-irc-notice-timeout-unban-questions/19451/4 "2019-02-12T05:32:29Z")

</div>

Closed on February 12, 2019, 5:32am UTC

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