sb-filter
v1.0.0
Published
Permsions
Downloads
1
Readme
Discord.js Permission Handler
Handles Permission checking for you.
Example
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');
});