eximiabots-radiox/client/funcs/isDev.js

10 lines
258 B
JavaScript
Raw Normal View History

2020-04-04 06:23:18 +00:00
module.exports = function (devList, authorID){
let response = false;
Object.keys(devList).forEach(function(oneDev) {
devID = devList[oneDev];
if(authorID == devID){
response = true;
}
});
return response;
}