/curseapp.js

🤖🔥 Javascript Library for Twitch Desktop App (formerly known as CurseApp)

Primary LanguageJavaScript

ARCHIVED

The Curse Messenger has since shut down, hence this project will likewise be deprecated and archived.

curseapp.js is a 100% promise based, Object-oriented wrapper for the CurseApp API.

curseapp.js on npm

npm npm

Bye bye Twitch.

Quickly get started with curseapp.js:

npm install curseapp.js

Here's a simple script to get you started:

const Curse = require('curseapp.js');
const app = new Curse.Client();

app.on('connected', () => {
    console.log(`Connected as ${app.user.name}`);
});

app.on('dropped', () => {
    console.log('Connection dropped!');
});

app.on('message', (msg) => {
    if (msg.content=='ping')
        msg.reply('pong!');
});