GithubHelp home page GithubHelp logo

gdtwitch's Introduction

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

gdtwitch's People

Contributors

theduriel avatar

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.