# sb-filter

> Permsions

Latest version **1.0.0** (published 2020-01-17) · ISC license · 0 weekly downloads

## Install

```sh
npm install sb-filter
pnpm add sb-filter
yarn add sb-filter
bun add sb-filter
```

## Health

**Score 25/100 (F)** — status: abandoned.

Positive: has types; no vulnerabilities; high quality score.

Warnings: low downloads; no esm support.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 1.0.0 |
| Published | 2020-01-17 |
| First published | 2020-01-17 |
| Weekly downloads | 0 |
| License | ISC |
| TypeScript types | bundled |
| Module format | CommonJS |
| Dependencies | 1 |
| Unpacked size | 1004.2 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| Author | Dev Harry |
| Maintainers | non-hacker |

## Links

- npm: https://www.npmjs.com/package/sb-filter
- Repository: https://github.com/ha6000/sb-filter
- Homepage: https://github.com/ha6000/sb-filter#readme
- Issues: https://github.com/ha6000/sb-filter/issues
- npm.io page: https://npm.io/package/sb-filter

## Dependencies (1)

- [discord.js](https://npm.io/package/discord.js.md) ^11.5.1

## Recent versions

- 1.0.0 (latest) — 2020-01-17

## README

# Discord.js Permission Handler
> Handles Permission checking for you.

## Example

```javascript
    const Filter = require('sb-filter');
    const myFilter = new Filter([{
        name: 12012483274,
        type: 'member'
    }]);
    
    bot.on('message', (message) => {
        if(myFilter.ensure(message)) return message.reply('You cant access this command');
        messgae.reply('You can access this command');
    });
```

---
_Source: https://npm.io/package/sb-filter · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
