Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/theduriel/gdtwitch
A Godot to IRC to Twitch interface.
https://github.com/theduriel/gdtwitch
godot godot-addon godot-engine godot-plugin godotengine irc-bot irc-client tcp-client twitch-bot
Last synced: 3 months ago
JSON representation
A Godot to IRC to Twitch interface.
- Host: GitHub
- URL: https://github.com/theduriel/gdtwitch
- Owner: TheDuriel
- License: mit
- Created: 2019-02-01T04:59:38.000Z (about 6 years ago)
- Default Branch: master
- Last Pushed: 2019-02-14T02:47:17.000Z (almost 6 years ago)
- Last Synced: 2023-10-20T23:27:09.940Z (over 1 year ago)
- Topics: godot, godot-addon, godot-engine, godot-plugin, godotengine, irc-bot, irc-client, tcp-client, twitch-bot
- Language: GDScript
- Size: 125 KB
- Stars: 50
- Watchers: 5
- Forks: 4
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# 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](/addons/GDTwitch/Example.png?raw=true "Title")