Skip to content

MentalFS/irc3-twitch

Repository files navigation

IRC3 Plugins

Overview

This is a repository with irc3 plugins for my personal use. IRC3 is a nice IRCv3 complient framework using Python.

They are mostly centered around usage on the Twitch network, which does'n exactly behave like other networks. I'm trying to make modules that don't have twitch in their name work on regular IRC networks though.

Plugins

Twitch - plugins.twitch

Enables IRCv3 capabilities on the Twitch network and does some basic handling.

API Logger - plugins.apilogger

Logs JSON API requests about the Twitch channels the client is joined to. Those can become quite large, so they only write a timestamp when the JSON object didn't change.

RAW Logger - plugins.rawlogger

Logs messages (only to channels) as raw IRC lines to files.

Scripts

irc3-bot

A starter script to keep IRC bots running via cron.

Docker

Example

docker run -d -v /local/path/to/my_config.ini:/opt/irc3/my_config.ini:ro -e IRC3_CONFIG=my_config.ini ghcr.io/mentalfs/irc3-twitch

Limitations

  • Twitch has removed all IRC commands, so scripts can't use /ban, /timeout or any other command.
  • Whispering also isn't possible anymore via IRC.
  • Hint: There are much more fleshed out libraries specifically tailored to Twitch via Websocket or HTTP API