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

12 lines
379 B
TypeScript
Raw Normal View History

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