3
0
Fork 0
mirror of https://github.com/ZeppelinBot/Zeppelin.git synced 2025-03-19 07:20:00 +00:00
zeppelin/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);