zappyzep/backend/src/utils/readChannelPermissions.ts

8 lines
243 B
TypeScript
Raw Normal View History

import { Constants } from "eris";
/**
* Bitmask of permissions required to read messages in a channel
*/
export const readChannelPermissions =
BigInt(Constants.Permissions.readMessages) | BigInt(Constants.Permissions.readMessageHistory);