From b992019a78d4e35024fe9bb5536ec352672a2de9 Mon Sep 17 00:00:00 2001 From: Danial Raza Date: Fri, 1 Dec 2023 21:58:21 +0100 Subject: [PATCH] docs(PermissionOverwriteManager): `PermissionsFlagsBit` typo (#10004) Co-authored-by: Jiralite <33201955+Jiralite@users.noreply.github.com> --- packages/discord.js/src/managers/PermissionOverwriteManager.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/discord.js/src/managers/PermissionOverwriteManager.js b/packages/discord.js/src/managers/PermissionOverwriteManager.js index 011a6498cfcc..9ab8d3abf58a 100644 --- a/packages/discord.js/src/managers/PermissionOverwriteManager.js +++ b/packages/discord.js/src/managers/PermissionOverwriteManager.js @@ -58,7 +58,7 @@ class PermissionOverwriteManager extends CachedManager { * message.channel.permissionOverwrites.set([ * { * id: message.author.id, - * deny: [PermissionsFlagsBit.ViewChannel], + * deny: [PermissionFlagsBits.ViewChannel], * }, * ], 'Needed to change permissions'); */