A Godot to IRC to Twitch interface.
Branch: master
Clone or download
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
addons/GDTwitch minor fixes - enabled editor dock Feb 2, 2019
.gitattributes Initial commit Feb 1, 2019
.gitignore Initial commit Feb 1, 2019
LICENSE Initial commit Feb 1, 2019
Node.tscn minor fixes - enabled editor dock Feb 2, 2019
README.md Update README.md Feb 1, 2019
default_env.tres Initial commit Feb 1, 2019
icon.png Initial commit Feb 1, 2019
icon.png.import Initial commit Feb 1, 2019
project.godot Initial commit Feb 1, 2019

README.md

GDTwitch

Godot 3.0 to IRC to Twitch interface.

Runs a basic IRC bot that connects to the Twitch chat API.

Allows for outputting, parsing, and sending messages.

Repo includes an example scene that allows connecting to various channels, sending messages, and parsing messages for commands. "Hey Godot" (Case insensitive)

This project was inspired by https://github.com/drtwisted/godot-twicil and while following the same general logic, was written entirely from scratch with (hopefully) cleaner code.

Usage:

  • Load the addon "GDTwitch"
  • Add the new "GDTwitch" node to a scene in your project.
  • Set:
  • CLIENT_PASSWORD to your OAuth token. https://twitchapps.com/tmi/
  • CLIENT_ID to your Twitch API id https://dev.twitch.tv/dashboard/apps/create
  • CLIENT_NICK to the name of your BOT account name. (As displayed in its channel URL.)
  • IRC_CHANNEL to the name of the streamer channel you want to connect to. (^See above.)
  • Call start() on your new node.

You can optionally enable PRINT_LOG to have the raw stream printed to your console.

Custom commands are registered using the template format. Arguments are Str: Function, Array: [String: Alias], Bool: Owner_Only (Only channel owner may use this command.)

To hook the output to a RichTextLabel of your choice, use one of the provided signals.

Missing features:

  • Userlist
  • Allow Moderators to use Commands
  • More in depth meta data parsing. (Emoticons, Subscribers, Turbo)

Sample Image:

Alt text