chriteixeira / twitch-toolkit Goto Github PK
View Code? Open in Web Editor NEWA set of tools to integrate with Twitch API, Twitch Chat and Twitch WebHooks.
License: MIT License
A set of tools to integrate with Twitch API, Twitch Chat and Twitch WebHooks.
License: MIT License
Can you provide examples of using your library ?
I can't figure out how to use it.
Add support to timed messages from the bot. The messages should be triggered by time and respect a few constraints like:
The options can only be setted while instancing the toolking. We need to be able to change it at any moment.
Since the websub have an expiration date, its required to refresh it before this happens.
Improve the tests for each module. Right now, its missing some API, all the websub and all the chat tests.
Create a call vote support for chat.
Methods (Suggestion):
chat.callVote(id, optionsArr: Array, endsAt?: date)
chat.endVote(id)
chat.voteResults(id)
The OAUTH token used for IRC chat login comes from the options. This can be generated through the API.
Right now, the function TwitchWebSub.handleRequest works only for Express. It should be framework agnostic and work for every server framework or pure node requests.
The project tmi.js have a few vulnerabilities and looks like its not being updated anymore (last npm publish was from a year ago).
A few options to solve this:
The destroy is not properly unsubscribing the topics.
Twitch PubSub must explicitly send a ping instead of the ws.ping.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.