Axodouble
Axodouble
DIAdiscord.js - Imagine an app
Created by Axodouble on 2/3/2024 in #djs-questions
Setting permission overwrite value to null.
Running into an odd issue, simply put:
vc.permissionOverwrites.edit(interaction.guild.id, {Connect: null,});
vc.permissionOverwrites.edit(interaction.guild.id, {Connect: null,});
This ignores setting the connect value to not have a specific override anymore, is there any other way to fix this? My assumption is that it assumes that if different values are null that they should not be altered, however now the issue is that I do not want to set the value to true or to false but instead to remove that specific permission overwrite on that permission. Any ideas on how I could achieve this?
9 replies