2.1.21 • Published 4 years ago

dlivetv-api v2.1.21

Weekly downloads
3
License
MIT
Repository
github
Last release
4 years ago

DLive-api

dependencies Codacy Badge License: MIT npm downloads per week npm version code size

logo

npm

Discord Banner 1

Documentation

Example

const Dlive = require('dlivetv-api');

const key = 'MyReallyLongAuthenticationKey'; // Not sure where to get your auth key? Check the documentation link above!

// Create a bot instence on LKD70's channel
const bot = new Dlive(key, 'LKD70');

// Monitor for 'ChatText' events
bot.on('ChatText', msg => {
    // Log every message recieved to the console
    console.log(`[${msg.sender.displayname}]: ${msg.content}`);

    // If someone says "hello" in our stream, greet then with a message
    if (msg.content.toLowerCase() === 'hello') {
        bot.sendMessage(`Hi there ${msg.sender.displayname}! Welcome to the stream`);
    }
});

Support

Need help with something? Or just want to hang out? Or maybe even offer a helping hand with the project? Feel free to check out my Discord server, everyone is welcome to contribute to the project as long as they follow the eslint and editorconfig standards!

Credits

Though this project is currently only coded and maintained by myself, I wouldn't have got to this point without the guidance of several other people and repositories. Here's some repos that have helped me out that you should also check out for yourself:

  • Dlivetv-api-js - The origin of the earlier versions of this project and inspiration for this project. Created and maintained by the DLive-APIs team
  • dlive-js - A very diverse broad reaching API that ventures in to a LINO API as well as a Dlive API by the amazing CreativeBuilds
  • DliveBot - A nifty bot for Dlive that is easy to use and comes with tonnes of functionality, credits to Dan Scott for introducing me to this bot
2.1.21

4 years ago

2.1.19

4 years ago

2.1.20

4 years ago

2.1.18

4 years ago

2.1.17

5 years ago

2.1.16

5 years ago

2.1.15

5 years ago

2.1.14

5 years ago

2.1.12

5 years ago

2.1.11

5 years ago

2.1.10

5 years ago

2.1.9

5 years ago

2.1.8

5 years ago

2.1.7

5 years ago

2.1.6

5 years ago

2.1.5

5 years ago

2.1.4

5 years ago

2.1.3

5 years ago

2.1.2

5 years ago

2.1.1

5 years ago

2.1.0

5 years ago

2.0.8

5 years ago

2.0.7

5 years ago

2.0.6

5 years ago

2.0.5

5 years ago

2.0.4

5 years ago

2.0.3

5 years ago

2.0.2

5 years ago

2.0.1

5 years ago

2.0.0

5 years ago

1.0.10

5 years ago

1.0.9

5 years ago

1.0.8

5 years ago

1.0.7

5 years ago

1.0.6

5 years ago

1.0.5

5 years ago

1.0.4

5 years ago

1.0.3

5 years ago

1.0.2

5 years ago

1.0.1

5 years ago

1.0.0

5 years ago