# IRC - Receiving Notifications

**URL:** <https://discuss.dev.twitch.com/t/irc-receiving-notifications/8545>\
**Category:** API\
**Created:** [December 16, 2016, 4:36pm UTC](https://discuss.dev.twitch.com/t/irc-receiving-notifications/8545 "2016-12-16T16:36:02Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![jpcguy89](https://avatars.discourse-cdn.com/v4/letter/j/a6a055/32.png) [@jpcguy89](https://discuss.dev.twitch.com/u/jpcguy89)\
**Post date:** [December 16, 2016, 4:36pm UTC](https://discuss.dev.twitch.com/t/irc-receiving-notifications/8545/1 "2016-12-16T16:36:02Z")

</div>

Hi all,

I’m having some trouble understand how to get notifications (e.g. 'Bits") using IRC. Are these notifications automatically received when I log onto the server and enter a room? If not, what do I need to do to start receiving them? I’m fairly new to IRC programming so any assistance figuring this out would be a great help.

---

<div class="post-metadata">

**Author:** ![Larklen](https://d3ovvz0v2ajtpu.cloudfront.net/user_avatar/discuss.dev.twitch.com/larklen/32/2138_2.png) [@Larklen](https://discuss.dev.twitch.com/u/Larklen)\
**Post date:** [December 16, 2016, 4:49pm UTC](https://discuss.dev.twitch.com/t/irc-receiving-notifications/8545/2 "2016-12-16T16:49:44Z")

</div>

If you want to keep it within IRC, then the only way to monitor for Bits is to send the CAP REQ: `"twitch.tv/tags"`. So when someone sends bits, there is a bit tag shown, below is a example response with tags (there is more that is sent, but I have removed extra stuff we are not looking for.):

`@badges=subscriber/6,bits/1000;bits=100;color=;display-name=Larklen;emotes=; :larklen!larklen@larklen.tmi.twitch.tv PRIVMSG :cheer100`

The ‘`bits/1000`’ shows what bits badge the user currently has and the tag ‘`bits=100`’ is how many bits where sent in that message (we can see the user sent the message ‘`cheer100`’.

So on your end, you would monitor for valid bits on a per message basis.

The alternative to IRC tags is the Twitch PubSun system found [here](https://github.com/justintv/Twitch-API/tree/master/PubSub) but it does not go through IRC.

---

<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:** [January 15, 2017, 4:49pm UTC](https://discuss.dev.twitch.com/t/irc-receiving-notifications/8545/3 "2017-01-15T16:49:44Z")

</div>

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