3
0
Fork 0
mirror of https://github.com/ZeppelinBot/Zeppelin.git synced 2025-03-15 22:01:50 +00:00
zeppelin/backend/src/staff.ts
2024-04-09 20:57:18 +03:00

8 lines
182 B
TypeScript

import { env } from "./env.js";
/**
* Zeppelin staff have full access to the dashboard
*/
export function isStaff(userId: string) {
return (env.STAFF ?? []).includes(userId);
}