Giter Club home page Giter Club logo

twitch-queue's Introduction

Note: To run twitch-queue you need to have NodeJS installed. After that run npm i (or pnpm i if you use pnpm, I'd recommend it.) to install the required packages.

Usage:

  • Commands:
    • !open (Requires mod)
    • !close (Requires mod)
    • !join
    • !leave
    • !list
    • !next 1-10 (Specify a number 1-10)
    • !clear (Requires mod)
    • !remove (Specify any number : Requires mod)

Installation Guide:

Download the latest release & extract it.

twitch-queue requires that you've setup a .env file with TWITCH_KEY and TWTICH_USERNAME.

Example of the file would be

.env

TWITCH_KEY=oauth:key
TWITCH_USERNAME=twitch_username

To get your oauth key, go to https://twitchapps.com/tmi/

The file strcture needs to be

.env
out > folder > index.js

(2 folders inbetween .env and index.js) You can modify the path dotenv checks for by changing config({ path: "../../.env" }); to be config() if you want it to check the same directory.

After you've setup your .env file, go inside index.js and change enter-channel to be your channel

const channels = ['enter-channel'] // Supports only 1 channel currently

Do note that as the comment says, this bot only supports one channel. I probably won't make it support multi-channels, but if you want to help contribute then feel free to submit a pull request.

After that, the bot is ready to go. Simply run it by typing node . and if you want to set it up on a server, refer to this guide.

twitch-queue's People

Contributors

nciklol avatar

Stargazers

 avatar

Watchers

 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.