KeyboardRage / pluris

Extra prototypes and utilities for the Eris Discord API Library

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Pluris

Extra prototypes and utilities for the Eris Discord API Library


Installation and Usage

You will need to have at least Eris v0.14.0 installed. Previous versions of Eris may work but will not be tested for compatibility with the current version of Pluris. You must also make sure that other packages do not conflict with Pluris.

$ npm i pluris

After installing Pluris, make sure you initialise Eris with Pluris

const Eris = require('eris');
require('pluris')(Eris);

You will only need to do this once, preferably in your main bot file. To disable specific plugins, supply an object in the second parameter with the plugin name set to false. See below for a list of available plugins

const Eris = require('eris');
require('pluris')(Eris, { awaitMessages: false });

Setting the plugin to true will keep the plugin enabled

Plugins

(In case I've missed some plugins from this list, you can see the docs folder for available plugins)

TypeScript

This package includes some documentation updates for Eris. I have tried to overwrite the typings as best as I can, however if there are any errors or issues, please let me know.

Need some help?

Feel free to contact me by joining either servers:

  • Axon Labs (preferred) in the #other-support channel
  • Discord API in the #js_eris channel
  • Dyno (most active) in the #code-talk channel, by running ?rank Code in #commands when joining the server

License

Please see the license file.

About

Extra prototypes and utilities for the Eris Discord API Library

License:MIT License


Languages

Language:JavaScript 100.0%