typealias PermissionOverwriteOptions

export type PermissionOverwriteOptions = Partial<Record<keyof typeof PermissionFlagsBits, boolean | null>>;

An object mapping permission flags to true (enabled), null (unset) or false (disabled).

{
 'SendMessages': true,
 'EmbedLinks': null,
 'AttachFiles': false,
}

Union Members

Partial<Record<keyof typeof PermissionFlagsBits, boolean | null>>