Skip to main content

A wrapper for the Twitch IRC used for creating chat bots.

Project description



twitchircpy is a wrapper for the Twitch IRC used for creating chat bots.


Installing from pypi:

pip3 install twitchircpy

Installing from source:

pip3 install git+

Small Example

import twitchircpy

bot = twitchircpy.Bot("oauth", "nick", "!", "jups", True)

def on_connect():

def on_message(message):
    if "HeyGuys" in message.content:
        bot.send_message(, f"@{message.user} HeyGuys")

def on_sub(sub):
    bot.send_message(, f"Thank you @{sub.login} for subbing!"


You can find examples in the examples directory.

Library Requirements

Good news! This library only uses built-in Python libraries.

Python Version

Tested with Python 3.7.1

Project details

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Files for twitchircpy, version 1.0.1
Filename, size File type Python version Upload date Hashes
Filename, size twitchircpy-1.0.1-py3-none-any.whl (46.0 kB) File type Wheel Python version py3 Upload date Hashes View
Filename, size twitchircpy-1.0.1.tar.gz (24.6 kB) File type Source Python version None Upload date Hashes View

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page