mirror of
https://github.com/ZeppelinBot/Zeppelin.git
synced 2025-05-26 02:35:03 +00:00
12 lines
404 B
TypeScript
12 lines
404 B
TypeScript
import { PermissionsBitField } from "discord.js";
|
|
|
|
/**
|
|
* Bitmask of permissions required to read messages in a channel
|
|
*/
|
|
export const readChannelPermissions =
|
|
PermissionsBitField.Flags.ViewChannel | PermissionsBitField.Flags.ReadMessageHistory;
|
|
|
|
/**
|
|
* Bitmask of permissions required to read messages in a channel (bigint)
|
|
*/
|
|
export const nReadChannelPermissions = BigInt(readChannelPermissions);
|