erisify
v0.1.3
Published
A few small additions to Eris to make life easier
Downloads
5
Readme
🌸 erisify 🌸
🌹 uwu eris but a few extwa thingies uwu 🌹
how to use?1!?
const Eris = require("eris");
require("erisify")(Eris);
🌺 owo more advanced owo 🌺
const Eris = require("eris");
require("erisify")(Eris, { disabled: ["Message.tag"] });
teh thingies
| Name | Description |
| ---- | ----------- |
| Message.guild
| Shortcute of message.channel.guild
|
| Member.tag
| Combines teh Member.username
& Member.discriminator
|
| Member.hoistColor
| Hex color of the hoisted role of this member |
| Role.higherThan
| Compare 2 roles and check if the current role is higher |
| Role.isHighest
| A boolean telling you wether this role is the highest role in the guild |
| User.tag
| Combines teh Member.username
& Member.discriminator
|
MessageEmbed & MessageButton
coming soon uwu
options yay
🏵️ enabled
- When enabled
contains 1 or more specific items, only those are enabled, other additions will then be disabled.
[Default = "all"
]
🏵️ disabled
- Disabled specific additions while all other additions stay enabled
[Default = "none"
]
🏵️ logging
- Either true
or false
[Default = false
]
examples
the following example will only enable Message.tag
and disable all other additions. Also disables logging.
const Eris = require("eris");
require("erisify")(Eris, { enabled: ["Message.tag"] }, false);
the following example will only disable Message.tag
and enable all other additions. Also enables logging.
const Eris = require("eris");
require("erisify")(Eris, { disabled: ["Message.tag"] }, true);
todo
- [ ] fixy like the entire package owo
- [ ] add useful stuff
credits
package inspired by bsian03's
pluris package