The Wayback Machine - https://web.archive.org/web/20231014075944/https://github.com/Grahnz/TwitchIRC-Unity
Skip to content

Grahnz/TwitchIRC-Unity

master
Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
 
 
 
 

img

TwitchIRC.cs

Is a lightweight IRC client component for use with the Unity Engine.

Prerequisites

In order to connect to Twitch IRC, you must have three pieces of information:

  1. The name of channel that you want to join.
  2. A Twitch account.
  3. Oauth token from API or from a site using it: www.twitchapps.com/tmi

Usage

Enter your twitch name, oauth token and the name of the channel you want to join in the inspector of TwitchIRC. Drop a component that utilizes TwitchIRC.cs or try the TwitchChatExample.cs chat component.

API

Sending:

  • TwitchIRC.SendMsg(string msg)
  • TwitchIRC.SendCommand(string cmd)

Reading: Add a listener via:

  • TwitchIRC.messageRecievedEvent.AddListener(function(string))

For an example see TwitchChatExample.cs

Known issues

  • Please tell me if you find any!

About

lightweight IRC client component for use with the Unity Engine.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages