d.jserror
v1.0.10
Published
A simple module to make showing users an error easier
Downloads
18
Maintainers
Readme
SimpleErr
SimpleErr
SimpleErr is a module for showing users your errors more easily!
Usage
const sErr = require('d.jserror');
var err = sErr(`user does not have permission MANAGE_MESSAGES`, 2, 'Moosecoop#3054');
Stuff
simple-err was originaly called d.jserror, and was meant for use with Discord.js only, but now works with anything, being it returns a string. It is still d.jserror on NPM, GitHub, etc, but should be referred to as simple-err.