mirror of
https://github.com/warengroup/eximiabots-radiox.git
synced 2026-10-29 19:25:01 +00:00
Created new function isAuthorDev
This commit is contained in:
1 parent
8db8115ce3
commit
430456a565
2 files changed
+11
No files matched your search
@@ -0,0 +1,10 @@
|
||||
module.exports = function (devList, authorID){
|
||||
let response = false;
|
||||
Object.keys(devList).forEach(function(oneDev) {
|
||||
devID = devList[oneDev];
|
||||
if(authorID == devID){
|
||||
response = true;
|
||||
}
|
||||
});
|
||||
return response;
|
||||
}
|
||||
Reference in new issue
Block a user