mirror of
https://github.com/warengroup/eximiabots-radiox.git
synced 2025-07-01 19:43:39 +00:00
TypeScript Initial
This commit is contained in:
10
src/client/funcs/isDev.ts
Normal file
10
src/client/funcs/isDev.ts
Normal file
@ -0,0 +1,10 @@
|
||||
module.exports = function isDev(devList, authorID){
|
||||
let response = false;
|
||||
Object.keys(devList).forEach(function(oneDev) {
|
||||
let devID = devList[oneDev];
|
||||
if(authorID == devID){
|
||||
response = true;
|
||||
}
|
||||
});
|
||||
return response;
|
||||
}
|
Reference in New Issue
Block a user