riotchat.js
TypeScript icon, indicating that this package has built-in type declarations

0.1.8 • Public • Published



Riot.js

A library for interacting with the Riot API, designed after Discord.js



Get Started

To use Riot.js in Node.js or with Webpack, install it with

npm install --save riot.js

or

yarn add riot.js

You can then create a client object and log in using a token from a bot created on the applications page.

const Riot = require('riot.js');
const client = new Riot.Client();
 
client.login("bot-token");

The library also has Typescript typings.

import { Client } from 'riot.js';
const client = new Client();
 
client.login("bot-token");

Documentation

A full, detailed documentation about Riot.js can be found on our developer portal.

Contributing

Before creating an issue, please ensure that it hasn't already been reported/suggested, and double-check the documentation.

See the contribution guide if you'd like to submit a pull request.

Help

If you don't understand something in the documentation, or having issues, please don't hesitate to join our Riot Developers channel on Riot.

License

Riot.js is licensed under the Apache License 2.0

Readme

Keywords

none

Package Sidebar

Install

npm i riotchat.js

Weekly Downloads

1

Version

0.1.8

License

Apache-2.0

Unpacked Size

64 kB

Total Files

53

Last publish

Collaborators

  • insertish