GithubHelp home page GithubHelp logo

chriteixeira / twitch-toolkit Goto Github PK

View Code? Open in Web Editor NEW
15.0 15.0 5.0 1.11 MB

A set of tools to integrate with Twitch API, Twitch Chat and Twitch WebHooks.

License: MIT License

JavaScript 100.00%

twitch-toolkit's People

Contributors

chriteixeira avatar dependabot[bot] avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

twitch-toolkit's Issues

Need examples

Can you provide examples of using your library ?
I can't figure out how to use it.

Timed Messages support

Add support to timed messages from the bot. The messages should be triggered by time and respect a few constraints like:

  • Minimum number of messages in chat;
  • Minimum delay between the same timed messages;
  • Minimum delay between all timed messages;

Websub needs to refresh

Since the websub have an expiration date, its required to refresh it before this happens.

StatusCodeError: 401

StatusCodeError: 401 - {"error":"Unauthorized","status":401,"message":"OAuth token is missing"}
Code_Q2nNfRPaef

Missing tests

Improve the tests for each module. Right now, its missing some API, all the websub and all the chat tests.

Call vote support

Create a call vote support for chat.

Methods (Suggestion):
chat.callVote(id, optionsArr: Array, endsAt?: date)
chat.endVote(id)
chat.voteResults(id)

Vulnerabilities from tmi.js

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 repository have not yet published commits. Check if its stable and fork it to be used in this project.
  • Fork it and solve it (maybe create a new npm project)
  • Use a new chat module (maybe https://github.com/marcandrews/twitch-js).

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.