10 lines
166 B
JavaScript
10 lines
166 B
JavaScript
|
const { db } = require('..');
|
||
|
|
||
|
/**
|
||
|
*
|
||
|
* @param {String} user
|
||
|
* @returns Boolean
|
||
|
*/
|
||
|
module.exports = (user) => {
|
||
|
return !!db.blacklist.get(user)?.blacklisted;
|
||
|
}
|