# Get subscription messages Python

**URL:** <https://staging-discuss.dev.twitch.com/t/get-subscription-messages-python/13124>\
**Category:** Chat and IRC\
**Created:** [December 3, 2017, 1:55pm UTC](https://staging-discuss.dev.twitch.com/t/get-subscription-messages-python/13124 "2017-12-03T13:55:45Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Cyber\_Star](https://d1d6mrmdu7ztse.cloudfront.net/user_avatar/staging-discuss.dev.twitch.com/cyber_star/32/3748_2.png) [@Cyber\_Star](https://staging-discuss.dev.twitch.com/u/Cyber_Star)\
**Post date:** [December 3, 2017, 1:55pm UTC](https://staging-discuss.dev.twitch.com/t/get-subscription-messages-python/13124/1 "2017-12-03T13:55:45Z")

</div>

Hello i’m making my own twitch bot in python for some fun.

I have a twitch bot with commands working and chat working fine.  
But i can’t seem to figure out how to get the messages from subscriptions like this;

just subscribed with a $4.99 sub!

how do i get these messages with python?

---

<div class="post-metadata">

**Author:** ![BarryCarlyon](https://d1d6mrmdu7ztse.cloudfront.net/user_avatar/staging-discuss.dev.twitch.com/barrycarlyon/32/253_2.png) [@BarryCarlyon](https://staging-discuss.dev.twitch.com/u/BarryCarlyon)\
**Post date:** [December 3, 2017, 2:20pm UTC](https://staging-discuss.dev.twitch.com/t/get-subscription-messages-python/13124/2 "2017-12-03T14:20:05Z")

</div>

Over Chat/IRC you would need to enable the IRCv3 capabilities, `tags` and `commands` and consume `USERNOTICE`:

> **[Chatbots & IRC](https://dev.twitch.tv/docs/irc#twitch-irc-capability-commands)**
>
> Getting Started with Chatbots & IRC

---

<div class="post-metadata">

**Author:** ![system](https://d2spem0quai2ol.cloudfront.net/original/2X/0/05909729875cce3b53e59d5561c4d23bb14948fc.png) [@system](https://staging-discuss.dev.twitch.com/u/system)\
**Post date:** [January 2, 2018, 2:20pm UTC](https://staging-discuss.dev.twitch.com/t/get-subscription-messages-python/13124/3 "2018-01-02T14:20:19Z")

</div>

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