2020-08-07 00:39:52 +03:00
|
|
|
import { Constants } from "eris";
|
|
|
|
|
|
|
|
/**
|
|
|
|
* Bitmask of permissions required to read messages in a channel
|
|
|
|
*/
|
2020-08-07 01:21:31 +03:00
|
|
|
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);
|