ContextMenuCommandBuilder.setDMPermission does nothing
I want for my context menu to be inaccessible in DMs.
My Context Menu class:
Initialization:
D.js docs (https://discord.js.org/#/docs/builders/main/class/ContextMenuCommandBuilder?scrollTo=setDMPermission) says it accepts null, undefined and boolean, so instead of
The object that is sent to the API is
My Context Menu class:
Initialization:
D.js docs (https://discord.js.org/#/docs/builders/main/class/ContextMenuCommandBuilder?scrollTo=setDMPermission) says it accepts null, undefined and boolean, so instead of
dm_permission tried all valid values (null, undefined, true and false) and none of them restricted the context menu.The object that is sent to the API is
