Giter Site home page Giter Site logo

twitch-chat-relay's Introduction

twitch-chat-relay

A tera-proxy module, that acts as a chat relay between Twitch and TERA. It connects your in game /6 private chat to Twitch chat, so you can read/send messages and use chat actions from inside the game.

Config

You can either /8 tw to open settings UI, or edit config.json and enter your details.

{
  "version": 1,
  "data": {
    "username": "twitch_username",
    "password": "twitch_oauth_password",
    "channel": "#channel_to_join",
    "debug": true,
    "reconnect": true
  }
}

You can generate OAuth password here, channel can be your own #username, or if you want to chat on someone else's stream, then their #username.

Usage

Type /6 or /twitch in game to activate the Twitch private channel. To use chat actions, you can either type /6 !command or /8 command. Available commands:

tw action <action message>

  • Send action message

tw ban <user> <reason>

  • Ban user from the chat
  • reason is optional

tw clear

  • Clear all chat messages

tw channel <#channelname>

  • Leave your current channel, and join #channelname

tw color <color>

  • Change chat name color

tw connect

  • Connect to Twitch chat manually

tw disconnect

  • Disconnect from Twitch chat manually

tw host <channel>

  • Host channel

tw timeout <user> <timer> <reason>

  • Timeout user from the chat for timer seconds
  • timer is optional, default is 300 seconds
  • reason is optional

tw unban <user>

  • Unban user from the chat

tw unhost <channel>

  • Unhost channel

tw whisper <user> <your message>

  • Whisper user with your message

Credits

  • Thanks to Pinkie Pie for the private channel code

twitch-chat-relay's People

Contributors

mopihu avatar

Stargazers

 avatar

Watchers

 avatar

twitch-chat-relay's Issues

Trouble seeing twitch chat in other tabs

I'm having trouble getting the twitch chat messages to show on other tabs, mainly TCC.

The only tab I can reliably see the twitch chat messages is the default, main tab. If I try to show it on another default game tab, it only updates the new messages after I go into its tab options and click confirm again.

As for the TCC tabs, I can't get the twitch chat messages to show on any of them regardless of what settings I try: https://i.imgur.com/rEpXghO.png

Outdated?

Hey i wanted to use this module cause its convenient for streaming this game. But looks like its outdated, could you fix it if it dont bother much?

Log from toolbox im getting:
Error: [dispatch] [twitch-chat-relay] hook: Error: version 1 of message (name: "S_JOIN_PRIVATE_CHANNEL", code: 45824) is outdated and cannot be used anymore
at Dispatch.createHook (D:\Pastas\CaaliTeraProxy\node_modules\tera-network-proxy\lib\connection\dispatch\index.js:247:27)
at Dispatch.hook (D:\Pastas\CaaliTeraProxy\node_modules\tera-network-proxy\lib\connection\dispatch\index.js:281:27)
at Module.hook (D:\Pastas\CaaliTeraProxy\node_modules\tera-network-proxy\lib\connection\dispatch\module.js:110:36)
at new TwitchChatRelay (D:\Pastas\CaaliTeraProxy\mods\twitch-chat-relay-master\index.js:60:7)
at ModuleManager.load (D:\Pastas\CaaliTeraProxy\node_modules\tera-network-proxy\lib\connection\dispatch\moduleManager.js:157:35)
at D:\Pastas\CaaliTeraProxy\node_modules\tera-network-proxy\lib\connection\dispatch\moduleManager.js:122:22
at Map.forEach ()
at ModuleManager.loadAll (D:\Pastas\CaaliTeraProxy\node_modules\tera-network-proxy\lib\connection\dispatch\moduleManager.js:120:31)
at Socket. (D:\Pastas\CaaliTeraProxy\bin\connectionManager.js:55:47)
at Socket.emit (events.js:205:15)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.