Page MenuHomePhorge

staff-utils.js
No OneTemporary

Size
340 B
Referenced Files
None
Subscribers
None

staff-utils.js

// @flow
import bots from '../facts/bots.js';
import staff from '../facts/staff.js';
function isStaff(userID: string): boolean {
if (staff.includes(userID)) {
return true;
}
for (const key in bots) {
const bot = bots[key];
if (userID === bot.userID) {
return true;
}
}
return false;
}
export { isStaff };

File Metadata

Mime Type
text/x-java
Expires
Fri, Jan 9, 12:53 PM (21 h, 4 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
5901864
Default Alt Text
staff-utils.js (340 B)

Event Timeline