2021-05-31 03:30:55 +02:00
|
|
|
import { Permissions } from "discord.js";
|
2020-08-07 00:39:52 +03:00
|
|
|
|
|
|
|
/**
|
|
|
|
* Bitmask of permissions required to read messages in a channel
|
|
|
|
*/
|
2021-05-31 03:30:55 +02:00
|
|
|
export const readChannelPermissions = Permissions.FLAGS.VIEW_CHANNEL | Permissions.FLAGS.READ_MESSAGE_HISTORY;
|
2020-08-07 01:21:31 +03:00
|
|
|
|
|
|
|
/**
|
|
|
|
* Bitmask of permissions required to read messages in a channel (bigint)
|
|
|
|
*/
|
|
|
|
export const nReadChannelPermissions = BigInt(readChannelPermissions);
|