mirror of
https://github.com/ZeppelinBot/Zeppelin.git
synced 2025-03-15 22:01:50 +00:00
6 lines
168 B
TypeScript
6 lines
168 B
TypeScript
/**
|
|
* Zeppelin staff have full access to the dashboard
|
|
*/
|
|
export function isStaff(userId: string) {
|
|
return (process.env.STAFF ?? "").split(",").includes(userId);
|
|
}
|